You don't need chdir.
This is all you need (provided cells A1:A5 contain valid Workbooknames, including extensions.
![]()
Sub snb() for j=1 to 5 thisworkbook.savecopyas "Z:\Individual_files\" & sheets("Lists").cells(j,1) next end sub
You don't need chdir.
This is all you need (provided cells A1:A5 contain valid Workbooknames, including extensions.
![]()
Sub snb() for j=1 to 5 thisworkbook.savecopyas "Z:\Individual_files\" & sheets("Lists").cells(j,1) next end sub
Last edited by snb; 03-12-2012 at 06:52 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks