LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Browse Button for File Save

GetSaveAsFilename puts up the File=Save As dialog. It doesn't actually do
the save, but allows the user to browse the directory and specify a file
name - then returns the fully qualified path as a string, which you can then
use to save the file. However, you said you already had a filename, so I
offered the folder browser dialog so the user knows they are only picking a
location.

--
Regards,
Tom Ogilvy


Todd Huttenstine wrote in message
...
No I didnt mean the current workbook. I meant another
workbook called "My Stats.xls". That workbook is a
totally different workbook.


-----Original Message-----
strFileName = Application.GetSaveAsFilename

"Todd Huttenstine"

wrote in message
...
Hey guys,

I have a userform that contains a button and a

textbox. I
want to make that button a browse button so that when a
user clicks it, it brings up a file tree with a Save and
Cancel button.

I want the user to be able to browse in each directory

and
when they click save, the program save whats in the
textbox to that directory.


Thanx

Todd Huttenstine



.



 
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
browse to open and save as in Excel vbs seven Excel Discussion (Misc queries) 3 October 25th 07 10:30 AM
Pls add browse button for Hyperlink function Katharine Hu Excel Worksheet Functions 0 July 17th 06 07:13 AM
Browse button on form for folder path Greshter Excel Discussion (Misc queries) 2 January 12th 06 10:20 PM
Adding browse button to userform Brad[_11_] Excel Programming 1 December 1st 03 04:04 PM


All times are GMT +1. The time now is 05:49 PM.

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

About Us

"It's about Microsoft Excel"