Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open File Dialog Box on UserForm


Excel 2003 w/Visual Basic 6.3

There is no Common Dialog Box control in VB 6.3. Is there another way
to place a File Open Dialog Box onto a UserForm?


--
scantor145
------------------------------------------------------------------------
scantor145's Profile: http://www.excelforum.com/member.php...o&userid=14766
View this thread: http://www.excelforum.com/showthread...hreadid=390288

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Open File Dialog Box on UserForm

Not on the form, but you can use

fname = Application.GetOpenfileName()

However, this seems to make the userform modeless, so you might hide the
form first, then reshow it after the file is selected. Note that the
GetOpenfileName does not open the file, just returns the file name selected.

--
Regards,
Tom Ogilvy

"scantor145" wrote
in message ...

Excel 2003 w/Visual Basic 6.3

There is no Common Dialog Box control in VB 6.3. Is there another way
to place a File Open Dialog Box onto a UserForm?


--
scantor145
------------------------------------------------------------------------
scantor145's Profile:

http://www.excelforum.com/member.php...o&userid=14766
View this thread: http://www.excelforum.com/showthread...hreadid=390288



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
Open File Dialog box looks like Steven Excel Discussion (Misc queries) 3 January 30th 10 07:44 PM
Open Dialog Box to return Selected File Path and Not Open it. DMS Excel Programming 4 January 26th 10 12:46 PM
File open dialog Vaughan Excel Discussion (Misc queries) 0 May 12th 05 08:50 AM
open file dialog-select file-import worksheet Divinedar Excel Programming 1 January 16th 04 07:13 PM
File open dialog Jan Kronsell[_2_] Excel Programming 1 September 5th 03 08:56 AM


All times are GMT +1. The time now is 01:00 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"