The following statement
Dim NewFrame As MSForms.Frame
is giving compile time error:
'User defined type not defined'.
Can anyone suggest how to fix this issue ?
The following statement
Dim NewFrame As MSForms.Frame
is giving compile time error:
'User defined type not defined'.
Can anyone suggest how to fix this issue ?
To access the methods, properties and members of a MSForms object, go to the VBE's Tools, References and put a check mark beside “Microsoft Forms 2.0 Object Library” (or similar for your version). This will link the FM20.DLL (or similar for your version) from your O/S's system32 folder.