dynamic instance of word should open a document, but not load anyplugins (pdf i.e)

N

NetDiver

Hi folks ...

I would like to open a document with a dynamic instance of word.
Unfortunately a lot of plugins are installed and the creation of the
dynamic instance takes up to 10-15 seconds on a 3GHz machine.

Is there a way to "just open" the document and not loading/staring any
plugins?

Thanks for your help.

Marco
 
J

Jezebel

If you instantiate Word as an object -- set wrdObj =
CreateObject("Word.Application") -- add-ins are not loaded.
 
J

Jean-Guy Marcil

Jezebel was telling us:
Jezebel nous racontait que :
If you instantiate Word as an object -- set wrdObj =
CreateObject("Word.Application") -- add-ins are not loaded.

Can you please explain what you mean?

I just tried with:

Dim myWord As Word.Application
Dim myDoc As Word.Document

Set myWord = CreateObject("Word.Application")

With myWord
Set myDoc = .Documents.Add
.Visible = True
End With

from Excel without a Word instance already running.

Then I closed the instance and started Word from the Start menu.

I did not see any difference in the add-ins. They were loaded and functional
in both cases (I have a global add-in I made, the PDF one and the Word VBA
code cleaner). In the menu Tools > Templates and add-ins, all three were
checked.

Is there some other code you have to include as to not load them ?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
W

Word Heretic

G'day NetDiver <[email protected]>,

start word with a switch, I think its /a

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


NetDiver reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top