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

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
vba courses london - macros enabling them

Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Macros - Enabling them to work across multiple workbooks

vba courses london - Macros - Enabling them to work across multiple workbooks

ResolvedVersion Standard

Alex has attended:
Project Intro Intermediate course
Excel Advanced course
Excel VBA Intro Intermediate course

Macros - Enabling them to work across multiple workbooks

I seem to remember from my course something about Macros being allowed to work across different workbooks? Is there a way of enabling this?

RE: Macros - Enabling them to work across multiple workbooks

Hi Alex

I believe the peice of VBA code that you are looking for, to include in your macro is:

Workbooks("YourWorkbook").activate

where you place the name of your workbook in the above statement where is says yourworkbook.

If this does not solve your problem get back to me

Hope this helps

David

VBA tip:

Empty The Clipboard with CutCopyMode

After each Copy/Paste operation in VBA, you should use the following line of code to empty the clipboard. This ensures that the computer memory doesn't overload:

ActiveSheet.Paste
Application.CutCopyMode = False

View all VBA hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.