ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save As (https://www.excelbanter.com/excel-programming/295783-save.html)

Gene[_7_]

Save As
 
Hi gan
I am trying to save one sheet of a workbook to a new file. Currently I am using...
Sub SaveTestSheetSeparately(
Worksheets("test").Cop
ActiveWorkbook.SaveAs "test1.xls
End Su
I would like the file name to be the contents of cell B3. How do I need to modify the code
Thank
Gene


All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com