Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Where would you like to save - Name?
I have this code:-
Name = InputBox("What would you like to save the as?") ActiveWorkbook.SaveAs (Name) When I run this, it will save the file in the current workin directory. I want a promt to come up asking where it would like to be saved, bu in doing this it is like the windoes explorer that you get when yo manual click File Save As, so you can choose which directoy you woul like, any idea's -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Where would you like to save - Name?
Hi
Use Application.Dialogs, this will allow both operations: MyName = Application.Dialogs(xlDialogSaveAs).Show If MyName = False Then MsgBox "You cancelled the Save operation", vbInformation, "Cancelled" Regards Pascal "ianripping " a écrit dans le message de ... I have this code:- Name = InputBox("What would you like to save the as?") ActiveWorkbook.SaveAs (Name) When I run this, it will save the file in the current working directory. I want a promt to come up asking where it would like to be saved, but in doing this it is like the windoes explorer that you get when you manual click File Save As, so you can choose which directoy you would like, any idea's? --- Message posted from http://www.ExcelForum.com/ |
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) | |||
Save As and save current numbers not the actual formulas and links | Excel Discussion (Misc queries) | |||
Command Button Save As Application.ExecuteExcel4Macro ("SAVE.AS?() | Excel Discussion (Misc queries) | |||
how to get disk icon on save button of save as dialog like 2000 | Excel Discussion (Misc queries) | |||
Why system asks me to save change even after I call save method(VB.NET) | Excel Programming |