

'Or to use an existing instance of Other:

Set otherApp = CreateObject("Other.Application") In the Visual Basic Editor (VBE) => Select References… from the Tools menu => Select Other application’s object library) (In early binding, first we need to set a reference to the Other application’s object library. If you want to automate Other Microsoft Applications: You would declare the following variables at the top of your procedure, you need to declare some object variables specific to the application being automated. In early binding, we have to refer the necessary object before we use it. In late binding, we will create an Object in run time it will assign the necessary object. There are two ways to establish the Connection:Late binding and Early binding. To do this first we need to establish a connection with those applications, then we can able to access objects of the other applications from VBA.

Yes, we can interact with the other Applications using VBA,i.e with the MS Office Applications like Word, PowerPoint,Outlook,etc… and other applications like Internet Explorer, SAS,etc… Interacting with Other Applications using VBA – An Introduction:

Each of the sections contain related topics withĪudience This reference has been prepared for the beginners to help them understand the basics of It is now predominantly used with Microsoft Office applications such as MS. VBA stands for Visual Basic for Applications, an event-driven programming language from
