Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    May 2002
    Location
    Atlanta, Georgia, USA
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multi-select in Open dlg (Office 2000)

    I've got a macro that displays the File Open dialog, showing the folder for the active document. Here's the code:

    ChangeFileOpenDirectory (ActiveDocument.Path)
    Dialogs(wdDialogFileOpen).Show

    This works great, as long as you don't select more than one file. If you Ctrl select two or more files, it generates an error.

    I've played with the Dialog object to see if I can retrieve the selected file names and then open them one at a time, but I can't figure it out. I've tried the .Display method, but no matter what, if two file names are selected, I get the error.

    Anyone tried this before? Thanks!

    Bob
    Writing Consultant / Word Template Designer
    Words Connect

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Multi-select in Open dlg (Office 2000)


Posting Permissions

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