Saving only one worksheet in a multiple sheet workbook

J

Jim K

I have a multiple sheet workbook that I would like to
create a macro for saving only the active worksheet with a
new file name (Office XP). Any ideas?

thanks!
 
E

Ed Kratz

Here is a simple Macro for saving the active worksheet
with the sheet name as the file name.

Sub SaveSheet()

ActiveSheet.Copy
ActiveWorkbook.SaveAs Filename:=ActiveSheet.Name,
FileFormat:=xlNormal
End Sub
 
J

Jim K

Ed, thanks for the Macro. What syntax would I use to
prompt the user to be able to save the file to a
particular file/name of their choosing?

thanks, Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top