G
GrahamT
I am wanting to create code to open any form, but without using th
DoCmd.OpenForm construct. The code I am playing with looks lik
this
Dim frm As For
Set frm = New [Form_MyForm
frm.Visible = Tru
Where the name of the form is 'MyForm
(The key word 'New' may or may not be present
However, I want to pass the name of the form via a variable yet th
code above has the name hard-coded
As I said, I do NOT want to use the DoCmd.OpenForm construc
Does anyone out there know of a way to pass the name of the form via
variable
I would be much obliged
Graham
DoCmd.OpenForm construct. The code I am playing with looks lik
this
Dim frm As For
Set frm = New [Form_MyForm
frm.Visible = Tru
Where the name of the form is 'MyForm
(The key word 'New' may or may not be present
However, I want to pass the name of the form via a variable yet th
code above has the name hard-coded
As I said, I do NOT want to use the DoCmd.OpenForm construc
Does anyone out there know of a way to pass the name of the form via
variable
I would be much obliged
Graham