98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA
VBA
Resolved · 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?
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 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
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Using basic functions without doing formulasWhen 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. |