Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

ResolvedVersion 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:

Select only cell that contain text to lock format

For selecting cells that only contain Text in Excel

By selecting cells that only contain text, you can delete, fill or protect cells of this type.

Use short cut to Go to box (F5) or Edit, Go to
In the dialog box, click special button & select Constants and only check text or any other desired type.

Click OK.

And text cells will all be highlighted for you to apply format. Please note only works on one sheet at a time.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.