Results 1 to 3 of 3

Thread: Opening Multiple Files in Word

  1. #1

    Thread Starter
    Fanatic Member Jumpercables's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Posts
    592

    Opening Multiple Files in Word

    I was wondering if there was some special way to handle if a user wants to open multiple word doc files at the same time. (Ctl + Click each document you want to open then open them)

    Right now I recieve an error if I try to open multiple documents at onces.

    VB Code:
    1. ChangeFileOpenDirectory strLocation
    2.  
    3.     Set dlgDialog = Dialogs(intMethod)
    4.    
    5.     With dlgDialog
    6.         .Name = strName
    7.         If blnExecute Then
    8.             .Show
    9.         Else
    10.             .Display
    11.         End If
    12.   End With

  2. #2
    Fanatic Member Dnereb's Avatar
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    863

    Re: Opening Multiple Files in Word

    Did you check what mode Word is in? Multiple document or Single Document.
    I'm speaking out of experience in Autocad where you can have a S(ingle)D(ocument)I(interface) or MDI.
    And I know Word can act diffrent on opening a new document by creating a new instance of word (SDI) on some PC's.
    why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
    for every question you ask provide an answer on another thread.

  3. #3
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Opening Multiple Files in Word

    You can do something along the lines of :

    VB Code:
    1. For each i in dlgdialogs.selecteditems
    2.    'Open them here, using index i
    3.  next i

    Is that what you are meaning? At the moment, it looks as though you have a multiselect dialog but aren't extracting all the names.

    zaza

Posting Permissions

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



Click Here to Expand Forum to Full Width