View Single Post
  #10   Report Post  
Slow Learner
 
Posts: n/a
Default

I would like to try this out.
I have the button in the 'other' application (in this case a .mdb file)
which opens MSWord.
Next would be the addin or COM and I would like to see an icon on the
standard toolbar that everyone would have open which when selected takes the
person back.

So now my question, how do you do this? I have not done any addin or COM
things as yet.
Thanks

"Cindy M -WordMVP-" wrote:

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 :-)