Joel Brown
asked on
MS Word 2013 Document Question
I have a MS Word 2013 document that was created by someone else. On the document when you click on a link it prompts you to choose between two values in a list. When you choose one of the values the information at the bottom of the page is then displayed and its content changes depending on which value you selected.
I'm trying to change the information which is displayed below but I'm not quite sure how to get it to display so I can change it. If I change the information displayed after clicking the link then that's all that displays next time I open the form.
Any thoughts .....
I'm trying to change the information which is displayed below but I'm not quite sure how to get it to display so I can change it. If I change the information displayed after clicking the link then that's all that displays next time I open the form.
Any thoughts .....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here is the document I'm working with ...... Maybe this will help You'll need to change the extension back to docm as it wouldn't let me upload it with it .....
Joel
Pain-Diary---Copy.txt
Joel
Pain-Diary---Copy.txt
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@ CompProbSolv,
Didn't find anything there .....
Here is what is being called when the macro button is clicked .... maybe this will provide insight ..
+++++++++++++
Sub HideTable()
SelectFromList
Dim sSelected As String
sSelected = ApplicationGet("txtSelecti on")
If Left(sSelected, 5) = "Media" Then
ActiveDocument.Bookmarks(" tblMedial" ).Range.Fo nt.Hidden = False
ActiveDocument.Bookmarks(" tblFacet") .Range.Fon t.Hidden = True
Else
ActiveDocument.Bookmarks(" tblMedial" ).Range.Fo nt.Hidden = True
ActiveDocument.Bookmarks(" tblFacet") .Range.Fon t.Hidden = False
End If
End Sub
+++++++++++++
Didn't find anything there .....
Here is what is being called when the macro button is clicked .... maybe this will provide insight ..
+++++++++++++
Sub HideTable()
SelectFromList
Dim sSelected As String
sSelected = ApplicationGet("txtSelecti
If Left(sSelected, 5) = "Media" Then
ActiveDocument.Bookmarks("
ActiveDocument.Bookmarks("
Else
ActiveDocument.Bookmarks("
ActiveDocument.Bookmarks("
End If
End Sub
+++++++++++++
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm not seeing the macro button.
Note the comment in Sub Insert:
'insert the signature elements.
That sure looks like where the signature is inserted.
Note the comment in Sub Insert:
'insert the signature elements.
That sure looks like where the signature is inserted.
ASKER
@ CompProbSolv,
At the top of the form next to " PAIN DIARY" , is " Select Injection Type " , this is the macro button ..
The VB code is a bit confusing as its a complete set of coding that can be used on many different types of forms developed by this company for us. This form is fairly simple and doesn't use most of it.
Joel
At the top of the form next to " PAIN DIARY" , is " Select Injection Type " , this is the macro button ..
The VB code is a bit confusing as its a complete set of coding that can be used on many different types of forms developed by this company for us. This form is fairly simple and doesn't use most of it.
Joel
ASKER
Input from both users guided me in places to look for the solution. The form was ultimately designed in a different way with macros and hidden tables. Without the help of both users I struggled knowing exactly how the form was designed .......
Can you post the document here?