Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to save only one Worksheet not entirely Workbook

Status
Not open for further replies.

amecari

Technical User
Mar 21, 2001
29
BR
I have a workbook with 05 worksheets, but I want to salve only 03 (three) .It`s possible ? How could I write this ?
Is possible too to save a workbook that have macros without save this ???
Thanks .

 
Hmmm - to save one sheet only, you could save as .csv (comma seperated values) - this will only allow you to save one sheet. To save 3 out of 5 you're gonna need some code to copy the 3 sheets you want to a new wb and then save that. OR, you could use some code to make the 2 ws you don't want "veryhidden" - so you can't just go to sheets > unhide.

ps .csv file will not save macros either.

HTH
Geoff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top