Create a hidden Visio Application object from a Word document

D

Dimo Tabken

Hi folks,

(WinXP, OfficeXP, Visio 2000)

I'm presently creating a Word document template which, in its final
release, has to add visio-elements to the word-documents.

To create the object, I use the following lines:


Set objVisio = CreateObject("Visio.Application")
objVisio.Visible = False

the User doesn't need to see the Visio-application, because it's only used
to save a new visio-doc, which has the same name as the "parent" Word-doc.

is there any way to combine both lines?
I was thinking of anything like createobject("visio.application",hidden)
but, this obviously doesn't work.


Any hint is greatly appreciated...
 
D

Dimo Tabken

Hi Iwan,


Iwan van Ee schrieb am 20.09.2004 um 18:29:04 Uhr:

This is an easy one:
CreateObject("Visio.InvisibleApp")

Hmm.. things can be *so* easy, if you know ;-)

Thanks a lot, Iwan!
This really means I can finish my template tomorrow and release it to my
colleagues ;-)
 

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