View Single Post
  #9   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi ?B?U2xvdyBMZWFybmVy?=,

So in other words not a good idea? Thoughts are that it would be useful in a
workgroup environment using a database application as an intranet. In this
way a person could open the Word document and when finished exit through the
document to intranet neighbourhood again. Or would it be easier to have some
other means of closing out the word document and program?

Hmmm. For this scenario, I could imagine something along these lines:

1. From the "other application" you click a button that automates Word and opens
the document.

2. At the same time, it also loads an Addin (could be COM or template). This
addin basically adds a toolbar, toolbar button and/or menu command (you choose)
bound to VBA code that will do what you envision.

The differences to what you postulated befo

- You don't need to create code "on the fly"
- The addin can be digitally signed or placed in a trusted location
- The code won't be inside the document (so no worries about it triggering
macro security)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)