I have a requirement to load forms using the formname string dynamically.
Please guide me.
Nadia
Printable View
I have a requirement to load forms using the formname string dynamically.
Please guide me.
Nadia
You can load a form dynamically by using the Add method of the Forms collection, e.g.,
dim myFormName as string
'code to resolve myFormName
Forms.Add myFormName
'Show the newly loaded form
Forms(Forms.Count - 1).Show
Charles Zimmerman
http://www.freevbcode.com