Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
This macro saves all sheets in my workbook, what code do I need to save the sheet as One workbook, save a workbook with just that one sheet in it. Public Sub BobsSaveAs() Const PATH As String = "c:\test\" With ActiveWorkbook ..SaveAs Filename:=PATH & _ ..Sheets("Test1").Range("G1").Value & ".xls" End With End Sub Still learning Thanks in advance Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
saving a sheet in a new workbook | Excel Programming | |||
Saving a sheet in a workbook as .csv but not changing workbook name | Excel Programming | |||
Saving one sheet within a workbook | Excel Discussion (Misc queries) | |||
saving sheet as new workbook | Excel Programming | |||
Saving only 1 sheet of a workbook | Excel Programming |