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:
ChangeFileOpenDirectory strLocation
Set dlgDialog = Dialogs(intMethod)
With dlgDialog
.Name = strName
If blnExecute Then
.Show
Else
.Display
End If
End With
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.
Re: Opening Multiple Files in Word
You can do something along the lines of :
VB Code:
For each i in dlgdialogs.selecteditems
'Open them here, using index i
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