Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Method to copy and save only one sheet of the active workbook
How can I copy and save only one sheet of the active workbook.
This method copies the whole workbook and I only need to copy and save one of the sheets: ActiveWorkbook.SaveCopyAs Thank you. Diana |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Method to copy and save only one sheet of the active workbook
Rock,
Sub save_sheet_to_new_workbook() 'copies it to a new workbook ThisWorkbook.Worksheets(1).Copy 'the new workbook is now active ActiveWorkbook.SaveAs "saved copy" End Sub hth, Doug "Rock*" wrote in message ... How can I copy and save only one sheet of the active workbook. This method copies the whole workbook and I only need to copy and save one of the sheets: ActiveWorkbook.SaveCopyAs Thank you. Diana |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VB Method to copy and save only one sheet of the active workbo
Excellent! Doug thank you for your help and time.
-- Diana "Doug Glancy" wrote: Rock, Sub save_sheet_to_new_workbook() 'copies it to a new workbook ThisWorkbook.Worksheets(1).Copy 'the new workbook is now active ActiveWorkbook.SaveAs "saved copy" End Sub hth, Doug "Rock*" wrote in message ... How can I copy and save only one sheet of the active workbook. This method copies the whole workbook and I only need to copy and save one of the sheets: ActiveWorkbook.SaveCopyAs Thank you. Diana |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy value from active sheet to another workbook | New Users to Excel | |||
How to save a workbook to an active Web Page? | Excel Discussion (Misc queries) | |||
Save active sheet into new workbook | Excel Programming | |||
Copy from active sheet and paste into new sheet using info from cell in active | Excel Programming | |||
How save active workbook w/o knowing name | Excel Programming |