introduction excel training - call other applications using

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » introduction excel training - Call other applications using VBA

introduction excel training - Call other applications using VBA

resolvedResolved · Low Priority · Version Standard

Jigna has attended:
Excel VBA Intro Intermediate course

Call other applications using VBA

How to call other microsoft applications in Excel using VBA ?

RE: Call other applications using VBA

Hi Jigna

To call a Microsoft application like Word you use the AppActivate command as in the code below:

NB. You may need to change the path to the address on your computer where Word is stored

Sub CallWord()

Dim MyAppID As Variant

MyAppID = Shell("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE", 1) ' Run Microsoft Word

AppActivate MyAppID ' Activate Microsoft Word.

End Sub


Hope this helps

Regards

Carlos

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Adding cells, Rows & columns

place your cursor on a cell, row number or column letter and use CTRL + SHIFT + + or CTRL + + depending on which + you prefer to use.

View all Excel hints and tips


Server loaded in 0.05 secs.