如何从 Form2 设置 Form1.ControlBox=TRUE

How to set Form1.ControlBox=TRUE from Form2

我收到 424 运行 次错误:“需要对象”。

Form1.ControlBox1 = True

sub Form1_Load() 是“Public”。

非常感谢

您需要执行以下操作:

Forms!Form1.Form.ControlBox = True