Dynamically setting a Form

  • Thread starter Thread starter Andy Levy
  • Start date Start date
A

Andy Levy

I am trying to dynamically set a form name as follows. This does not work
though

Dim formName as string
formName = "Forms!" & "form1"

Dim frm as Form
Set frm = formName
 
Back
Top