vba
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

VBA

resolvedResolved · Low Priority · Version 2003

replyReply Thu 19 Feb 2009, 16:34Delegate Peri said...

Peri has attended:
Excel VBA Intro Intermediate course

VBA

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

For upcoming training course dates see: Pricing & availability

replyReply Wed 4 Mar 2009, 16:26 Edited on Wed 4 Mar 2009, 16:26Trainer Carlos said...

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.

 

Please browse our web site to find out more about
excel training onsite and other Microsoft training courses.

Excel tip:

How to Remove Duplication's from a selection of data in an Excel 2010 Worksheet

It would take far too much time to scan through rows and rows of data to find and remove duplicate data. So, here's how to do this using a much more efficient method:-

1) Select the data that might contain duplication's
2) Click the ''Data'' tab
3) Go to ''Data Tools'' and click ''Remove Duplicates''
4) A box will appear. Tick the boxes of the columns that you want to use to check for duplicates. Finally, click ''OK.''

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard