ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multiple Saving (https://www.excelbanter.com/excel-programming/356885-multiple-saving.html)

Jez[_7_]

Multiple Saving
 
Hi,

Please help...

I am trying to save one workbook into 2 separeate excel files.

I want to try and save one worksheet as one file and delete other sheets,
then go back to my original data report and save another worksheet as a text
file.

How is this possible??

Thanks,
Jez


bpeltzer

Multiple Saving
 
Sheets("Sheet2").Select 'select which sheet to copy/save
Sheets("Sheet2").Copy 'copy it to a new workbook
ActiveWorkbook.SaveAs ... 'specify filename, etc to create the first new
workbook
ActiveWorkbook.Close
' now repeat for the next sheet; note that the source workbook is left
unchanged by the steps above.


"Jez" wrote:

Hi,

Please help...

I am trying to save one workbook into 2 separeate excel files.

I want to try and save one worksheet as one file and delete other sheets,
then go back to my original data report and save another worksheet as a text
file.

How is this possible??

Thanks,
Jez


Martin

Multiple Saving
 
File, Save As and then choose text file at the bottom - it will only let you
save the active sheet.


"Jez" wrote:

Hi,

Please help...

I am trying to save one workbook into 2 separeate excel files.

I want to try and save one worksheet as one file and delete other sheets,
then go back to my original data report and save another worksheet as a text
file.

How is this possible??

Thanks,
Jez



All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com