Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Aug 2013
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word VBA: Capturing a Filename/path

    Excel VBA has a command Application.GetOpenFilename, which lets you display the standard Open dialog box and get a file name from the user without actually opening any files.

    The command doesn't exist in Word VBA. How would I do the same thing?


    -- Shawn

  2. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    6,503
    Thanks
    212
    Thanked 853 Times in 785 Posts
    Shawn,

    See this article. HTH
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,549
    Thanks
    3
    Thanked 149 Times in 142 Posts
    Shawn
    Doing a google search for "VBA File Picker" reveals links such as the following. This should get you started.
    http://www.wiseowl.co.uk/blog/s209/type-filedialog.htm
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Tags for this Thread

Posting Permissions

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