Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
why can't i browse to a location to save a flat file willa212 Excel Discussion (Misc queries) 0 April 2nd 10 12:16 AM
right click save as feature teratak Excel Discussion (Misc queries) 3 November 19th 08 03:26 PM
browse to open and save as in Excel vbs seven Excel Discussion (Misc queries) 3 October 25th 07 10:30 AM
auto save feature in excel Digvijay Kamal Excel Worksheet Functions 1 July 14th 07 03:55 PM
Browse Button for File Save Todd Huttenstine[_2_] Excel Programming 4 December 22nd 03 03:28 AM


All times are GMT +1. The time now is 06:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"