Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Browse Save As Feature
I have some code that creates a new text file. Is there
any way to implement a browse directories were the user can select where the file is saved to? Something similar to the windows default save as window. Thanks in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Browse Save As Feature
have a look at GetSaveAsFilename & GetOpenFilename
fileSaveName = Application.GetSaveAsFilename( _ fileFilter:="Text Files (*.txt), *.txt") If fileSaveName < False Then MsgBox "Save as " & fileSaveName End If --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Browse Save As Feature
I have examined these functions. This is what the
GetSaveAsFilename does, "Displays the standard Save As dialog box and gets a file name from the user without actually saving any files." I need to save a file and want the browse capability. -----Original Message----- have a look at GetSaveAsFilename & GetOpenFilename fileSaveName = Application.GetSaveAsFilename( _ fileFilter:="Text Files (*.txt), *.txt") If fileSaveName < False Then MsgBox "Save as " & fileSaveName End If --- Message posted from http://www.ExcelForum.com/ . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sorry. I see how to use these functions now.
-----Original Message----- I have examined these functions. This is what the GetSaveAsFilename does, "Displays the standard Save As dialog box and gets a file name from the user without actually saving any files." I need to save a file and want the browse capability. -----Original Message----- have a look at GetSaveAsFilename & GetOpenFilename fileSaveName = Application.GetSaveAsFilename( _ fileFilter:="Text Files (*.txt), *.txt") If fileSaveName < False Then MsgBox "Save as " & fileSaveName End If --- Message posted from http://www.ExcelForum.com/ . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
why can't i browse to a location to save a flat file | Excel Discussion (Misc queries) | |||
right click save as feature | Excel Discussion (Misc queries) | |||
browse to open and save as in Excel vbs | Excel Discussion (Misc queries) | |||
auto save feature in excel | Excel Worksheet Functions | |||
Browse Button for File Save | Excel Programming |