Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Macros - Enabling them to work across multiple workbooks
Resolved · Low Priority · Version Standard
Alex has attended:
Project Intro Intermediate course
Excel Advanced course
Excel VBA Intro Intermediate course
I seem to remember from my course something about Macros being allowed to work across different workbooks? Is there a way of enabling this?
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:Add A New Sheet at the end of the WorkbookTo add a new sheet at the end of the workbook you need to count the sheets in the workbook using: |
We'll call during UK business hours
Server loaded in 0.07 secs.