Where can you find the class names needed to pass along in the CreateObject function.
Using the Object browser does not give the required info
Eg.
Dim objTest as Object
Set objTest = CreateObject("Excel.Application")
This will work while Excel is not in the Object browser nor was it set as a reference.
How does VB knows about e.g. Excel.Application? How to get a list of all available ActiveX object available on a computer?


Reply With Quote

