Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SAVE AS/ GET SAVE AS/
I am trying to attach a macro that will save the workbook automatically as
whatever the user inputs in a particular cell. I need to be able to save it to a particular place as well. I do not want the "save as" box to pop up. When they hit the macro button, it should save it as (for example) cell "A1" in that workbook in "C:\Darren\stuff\"A1". Any help would be appreciated. Spent alot of time on this one already. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SAVE AS/ GET SAVE AS/
Will the name always be unique? Or would you want to overwrite existing
file with the same name? Sub save_as_cell() Application.DisplayAlerts = False 'remove if want warning ActiveWorkbook.SaveAs Filename:="C:\Darren\stuff\" & _ Sheets("Sheet1").Range("A1") & ".xls" Application.DisplayAlerts = True 'remove if want warning End Sub Gord Dibben MS Excel MVP On Thu, 16 Apr 2009 15:04:09 -0700, DarrenL wrote: I am trying to attach a macro that will save the workbook automatically as whatever the user inputs in a particular cell. I need to be able to save it to a particular place as well. I do not want the "save as" box to pop up. When they hit the macro button, it should save it as (for example) cell "A1" in that workbook in "C:\Darren\stuff\"A1". Any help would be appreciated. Spent alot of time on this one already. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Save, save as, page setup dimmed out in unprotected excel sheet? | Excel Discussion (Misc queries) | |||
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() | Excel Discussion (Misc queries) | |||
Disable save, save as, but allow save via command button | Excel Programming | |||
How to diasble save and save as menu but allow a save button | Excel Programming | |||
Totally Disabling (^ save ) (Save as) and Save Icon – Which code do I use: | Excel Programming |