LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
'BeforeClose' code problems:book won't close if more than one book is open Ed from AZ Excel Programming 0 September 18th 07 03:59 PM
save Changes and close book Darin Kramer Excel Programming 1 August 13th 07 03:36 PM
Open book, copy and paste from sheet, and then close.... Darin Kramer Excel Programming 5 September 14th 06 04:00 PM
Create new book..paste data..save..close [email protected] Excel Programming 1 September 12th 05 12:27 AM
Open book, check for macros, close book Robin Hammond[_2_] Excel Programming 5 March 31st 05 06:09 PM


All times are GMT +1. The time now is 02:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"