Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sFileName = Worksheets("Sheet1").Range("B3).Value
ActiveWorkbook.SaveAs sFileName Patrick Molloy Microsoft Excel MVP -----Original Message----- Hi gang I am trying to save one sheet of a workbook to a new file. Currently I am using.... Sub SaveTestSheetSeparately() Worksheets("test").Copy ActiveWorkbook.SaveAs "test1.xls" End Sub I would like the file name to be the contents of cell B3. How do I need to modify the code. Thanks Gene . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
SAVE and SAVE AS options disappeared from the drop down FILE menu | Excel Discussion (Misc queries) | |||
how to get disk icon on save button of save as dialog like 2000 | Excel Discussion (Misc queries) | |||
Save Excel file - prompts to save - no Volitile functions used | Excel Worksheet Functions | |||
Save As - Multiple Sheets fails to save as text file | Excel Programming |