Navigation:  Object Model Reference > Application Object >

Application Object

Previous pageReturn to chapter overviewNext page

Top level object. Entry point for all automation.

 

Remarks

The application object is only accessible when you have a licensed Developer Edition

 

Example

To gain access to the Application and the ActiveProject in VBA you should do following:.

Dim synAdd As Office.ComAddin
Dim synApp As Synkronizer.Application
Dim synProject As Synkronizer.Project
 
'set the comaddin object
Set synAdd = Application.ComAddins("synkronizer.connect")
'ensure the comaddin is connected
If not synAdd.Connect then synAdd.Connect = True 
'set the application
Set synApp = synAdd.Object
'set the project
Set synProject = synApp.ActiveProject
 

 

 


See Also

Application Object
Application Object Members