|
-
Oct 12th, 2005, 11:20 AM
#1
Thread Starter
Fanatic Member
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
-
Oct 12th, 2005, 12:34 PM
#2
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.
-
Oct 12th, 2005, 12:52 PM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|