View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JingleRock[_2_] JingleRock[_2_] is offline
external usenet poster
 
Posts: 45
Default SAVE A SHEET AS A BOOK, CLOSE IT, CONTINUE VBA CODE - XCL 2003

The Subject pretty much describes my situation. There are 5 sheets in
'ThisWorkbook'; I want to save one of them as an .xls file (replacing
an existing file with the same name; preferably this newly-saved file
will have zero VBA code included), close it, continue with my Code.
(Later in my Code, I want to open this VBA-saved .xls file.)

Previous attempts: 1) using a 'Sheets("WORKPLACE").Copy' stmt; this
did not result in consistent stable results; 2) using AdvancedFilter
to copy the Sheet (omitting the CriteriaRange); I could not generate
an error-free stmt.

Help