Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this:
Private Sub CommandButton1_Click() Dim sFileName As Variant sFileName = Worksheets("Sheet1").Range("A1") 'sFileName needs to include the path 'you can add it if necessary with the following sFileName = "C:\temp\" & sFileName ActiveWorkbook.SaveAs (sFileName) End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
My CD won't let me save my Excel workbook on them? | Excel Discussion (Misc queries) | |||
Excel workbook will not save | Excel Discussion (Misc queries) | |||
Simple question about FORM / SAVE & EXCEL | Excel Programming | |||
save excel workbook | Excel Discussion (Misc queries) | |||
Using interop.excel to open a workbook, the workbook doesn't ask to save changes. | Excel Programming |