Save as

  • Thread starter Thread starter JOHN SMITH
  • Start date Start date
J

JOHN SMITH

Hi,
I need to create a function that will copy a sheet
on my workbook to a new workbook

how do i open a save as window?

I am using win2000 and office 2000.

Regards,
 
John,
To create a worksheet with a copy of a single worksheet, use code
like

ThisWorkbook.Worksheets("Sheet1").Copy

Then, do a Save As with the new filename:

ActiveWorkbook.SaveAs filename:="whatever.xls"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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

Back
Top