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

Hi ?B?U2xvdyBMZWFybmVy?=,

I do not understand what this function is in Word but in Access it can be
programmed in VB to open anything in that program and-or open Word and then
open a document in Word.
Now once I have the document open I want to be able to place a command
button labeled "Back to Choices" on the word document which takes the viewer
back to the Access database form containing other command buttons opening
other Word and Access choices.

This last part is the problem, I should think. Word doesn't usually have
buttons on its documents, so there's no slick way to attach code to something
like that. It involves using the VB-Extensibility library for Office to add
code lines to a code module. And, most likely, you'd need to first create the
code module in the document. Furthermore, in doing so, you mark the document as
having macro code in it, which will activate macro security the next time the
user tries to open it.

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