hyperlink in a macro

  • Thread starter Thread starter Guest
  • Start date Start date
It might help if you explained what you are trying to achieve.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I have created a form in Word and when a collegue is filling out the form, I
would like a separate document to open if a certain checkbox is clicked.
Thank you in advanced.
 
Create a macro that runs on exit from the checkbox and if the checkbox value
is true, have it open the document

If ActiveDocument.FormFields("Check1").CheckBox.Value = True Then
Documents.Open "filename"
End If

Replace filename with the path\filename of the document that you want to be
opened.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
Thank you, that worked. However, if that box is checked I cannot work with
the form that the checked box is in. It continually sends me to the document
that the checked box is linked to. Is there a way to check the box, fill in
the form that it is linked to, then return to the original and complete it?
 

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

Back
Top