on 03-10-2010 11:43 AM
In VBA, does anyone know how to create the Designer.Application object using CreateObject or GetObject?
Instead of the code:
Dim BOApp As Designer.Application
Set BOApp = New Designer.Application
I want to use:
Dim BOApp As Object
Set BOApp = CreateObject(u201CDesigner.Applicationu201D)
But I get an error which would imply that the class name is not correct. What is the correct class name?
Thanks in advance,
Nic.
Hi,
I think that you must reference the version the object class, like this:
Set BOApp = CreateObject(u201CDesigner.Application.12u201D)
Regards
Didier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.