#1
|
|||
|
|||
List of Objects for CreateObject
Hello everyone,
I searched this forum for a list of objects that can be created using the CreateObject function. I have also searched online and on the Microsoft development site but what I am noticing is that there is not a lot of information out there. So here is my question using the CreateObject function what all can you create? Is there a list of the objects that can be created? The only ones that I know of so far are below: Code:
CreateObject("InternetExplorer.Applicaton") CreateObject("Excel.Sheet") CreateObject("Excel.Application") CreateObject("Word.Application") CreateObject("PowerPoint.Application") Code:
CreateObject("Notepad.Application") Anybody know of more of the major CreateObjects or a list of them? That would be awesome to add to my library. Thanks for your help. |
#2
|
||||
|
||||
The list of objects that created depends on what applications other than the one you're using are installed on the system that can exchange data with the one you're working with. Hence, there can never be a definitive list.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Ok that makes sense but what are some of the other ones you know. I know there is FileSystemObject and others. What are the most popular ones.
|
#4
|
||||
|
||||
Basically, it could be anything that is VBA-compliant. Some you've missed out include the following MS-Office objects:
CreateObject("Outlook.Application") CreateObject("Access.Application") CreateObject("MSGraph.Application") CreateObject("Visio.Application") Other common ones include Adobe Acrobat Pro objects: CreateObject("AcroExch.App") CreateObject("AcroExch.AVDoc") Then there are others, like: CreateObject("ADODB.Recordset") CreateObject("ADODB.Connection") use for database queries, and: CreateObject("Scripting.FileSystemObject") See also: http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Thanks very much for the link that helps me out a ton. I would assume that any kind of Microsoft application could be a created object but this is not the case with notepad. Even though I don't see any reason to ever have a notepad object since you can just read and write directly to text files pretty easily. Basically it seems like all of the office applications, Internet Explorer, Adobe Objects (Didnt know that one) and FileSystemObjects. Anything else would be interesting to know.
Thanks again. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't move objects with precision | MLF | PowerPoint | 3 | 07-31-2014 04:03 AM |
Query list of objects and properties in VBA | bshawnr | Word VBA | 1 | 08-22-2013 11:03 PM |
Convert equation objects to inline objects | sumjoh | Word VBA | 1 | 01-29-2013 08:38 PM |
Shape Objects | Space Cowboy | PowerPoint | 4 | 10-04-2010 07:14 PM |
NOprintable objects | shadowbat | Drawing and Graphics | 0 | 07-05-2010 10:13 PM |