![]() |
|
#1
|
|||
|
|||
![]()
I think the only issue is the 3rd line of code. The workbook name does not include the file extension at least not in my experience. Change it to
Code:
If ThisWorkbook.Name = "Test" Then Thanks |
![]() |
Tags |
excel 2010, vba excel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ahmed AbuZekry | Word VBA | 2 | 03-23-2015 02:14 AM |
![]() |
ptmuldoon | Word VBA | 7 | 03-09-2015 05:38 PM |
![]() |
retiredstuart | Excel | 3 | 09-12-2014 06:26 AM |
the saveas macro in excel 2010 is not transferring the macros to the new workbook | missmr28 | Excel Programming | 3 | 06-20-2012 05:30 AM |
![]() |
tpcervelo | Excel Programming | 1 | 01-05-2012 10:14 PM |