vba

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

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA

VBA

resolvedResolved · Low Priority · Version 2003

Peri has attended:
Excel VBA Intro Intermediate course

VBA

Can I run a 'macro' that exists in a personal workbook remotely?

Edited on Wed 4 Mar 2009, 16:26

Remote accessing a macro

Hi Peri

Sorry for the delay in replying to this question.

As long as the book containing the required macro is open on your computer you can access all macros in it using the following syntax:

Application.Run "MacroBook!MacroName"

So a macro created in the Personal Macro Workbook can be called using the following code:

Application.Run "Personal.xls!MyGreatMacro"

The problem is that, if you then use this workbook on another computer it will cause an error as the macro won't be accessible.

Hope this helps

Carlos

Wed 11 Mar 2009: Automatically marked as resolved.

 

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:

Using basic functions without doing formulas

When you highlight figures Autocalc tells you the total in the bottom right of the screen, but if you right click on the sum it will give you some basic functions. The functions are Min, Max, Average, Sum, Count, and Count Nums.

View all Excel hints and tips


Server loaded in 0.07 secs.