Worksheet.SaveAs

macleanb

Well-known Member
Joined
Dec 10, 2004
Messages
715
Hi

(First let me apologise for this post - I am sure the answer is available, but my searches returnn soooo many threads, none of which are relevant, I have gone for the easy option and ask again).

I am using worksheet.saveas (as opposed to Workbook.saveas) expecting that it would save just the target worksheet, but it seems to behave just the same as the workbook method and all sheets are saved.

Known issue, easy workarounds? (or just me being dumb again)
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hello,

ActiveSheet.Copy 'Copies the sheet to its own workbook
ActiveWorkbook.SaveAs 'put your save as code here

Cheers
Paul
 
Upvote 0
Great - 2 lines for a work around suits me fine - but am I misunerstanding the documnentation - it soes seem to sugeest saves should be worksheet specific.

thanks
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top