All Application and their methods to be used by CreateObject

Parth Gupta 180 Reputation points
2024-06-26T07:02:21.5533333+00:00

With reference to [MS-VBAL], section 6.1.2.8.1.4 about CreateObject function, it is mentioned that the 'Class' argument has a string data value, containing the application name and class of the object to create.

After some exploration i found that you can create objects of Word, Excel, etc with their provided classes for example:

CreateObject('Word.Application')

CreateObject('Excel.Application')

...etc

Could you provide a reference or a complete list of all possible applications that offer this kind of functionality and the methods they provide.

Thanks

Microsoft 365 and Office | Open Specifications
{count} votes

Accepted answer
  1. Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
    2024-06-28T21:28:23.58+00:00

    Hi Parth Gupta,

    The valid objects are listed in the registry

    User's image

    Please let me know if you have any more questions.

    Michael Bowen Sr. Escalation Engineer - Microsoft Open Specifications

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.