Home |
Search |
Today's Posts |
#1
|
|||
|
|||
hyperlink in a macro
Can I add a hyperlink into a macro?
|
#2
|
|||
|
|||
It might help if you explained what you are trying to achieve.
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org bold17 wrote: Can I add a hyperlink into a macro? |
#3
|
|||
|
|||
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. "Graham Mayor" wrote: It might help if you explained what you are trying to achieve. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org bold17 wrote: Can I add a hyperlink into a macro? |
#4
|
|||
|
|||
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 "bold17" wrote in message ... 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. "Graham Mayor" wrote: It might help if you explained what you are trying to achieve. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org bold17 wrote: Can I add a hyperlink into a macro? |
#5
|
|||
|
|||
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? "Doug Robbins" wrote: 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 "bold17" wrote in message ... 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. "Graham Mayor" wrote: It might help if you explained what you are trying to achieve. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org bold17 wrote: Can I add a hyperlink into a macro? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Table in a Form | Tables | |||
hyperlink in a macro | Microsoft Word Help | |||
Macro Button Won't Stay on Toolbar | Microsoft Word Help | |||
Possible bug when recording a Word Macro | Microsoft Word Help | |||
2000 to 2002 macro and "Could not open macro storage" | Mailmerge |