+ Reply to Thread
Results 1 to 2 of 2

Open File Dialog Box on UserForm

  1. #1
    Forum Contributor
    Join Date
    09-27-2004
    Posts
    133

    Question 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?

  2. #2
    Tom Ogilvy
    Guest

    Re: 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" <[email protected]> wrote
    in message news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1