Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS Word 2013 Document Question

Posted on 2016-11-03
9
Medium Priority
?
32 Views
Last Modified: 2016-11-09
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 .....
0
Comment
Question by:jtbrown1111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 22

Expert Comment

by:CompProbSolv
ID: 41873364
Not sure I'm understanding this correctly.  Are you wanting to change what gets put at the bottom of the page automatically?  If so, then you'd likely have to look at the macro that is used to generate the text.

Can you post the document here?
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 1000 total points
ID: 41873909
It is proabably, but not certainly, a Macrobutton Field. If it is, you can see the field code using the Alt+F9 toggle.

It might look like this:
Display Text

Open in new window


and like this when the field code is visible
{ MACROBUTTON  HelloMacro Display Text }

Open in new window


Here is a simple macro to append text at the end of the document
Sub HelloMacro()
    ActiveDocument.Bookmarks("\EndOfDoc").Range.Text = "Hello to you"
End Sub

Open in new window

To see the macro, you will have to open the VBA IDE (Alt+F11) . Hopefully the macro will be in the document's template or the Normal template. There is a chance that it is in a global template which you would have to open specifically in order to edit the macro.
0
 

Author Comment

by:jtbrown1111
ID: 41874510
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
0
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 
LVL 22

Assisted Solution

by:CompProbSolv
CompProbSolv earned 1000 total points
ID: 41874648
Go into Design Mode and look at clsSignature.  Within that you'll find Sub Insert.  I believe that is where you are getting the signatures.  I've not sorted through all of that code but this is where I think you need to look.
0
 

Author Comment

by:jtbrown1111
ID: 41874733
@ 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("txtSelection")
If Left(sSelected, 5) = "Media" Then
    ActiveDocument.Bookmarks("tblMedial").Range.Font.Hidden = False
    ActiveDocument.Bookmarks("tblFacet").Range.Font.Hidden = True
Else
    ActiveDocument.Bookmarks("tblMedial").Range.Font.Hidden = True
    ActiveDocument.Bookmarks("tblFacet").Range.Font.Hidden = False
End If
   


End Sub
+++++++++++++
0
 

Accepted Solution

by:
jtbrown1111 earned 0 total points
ID: 41874755
@ All,

Problem solved !!!     When I go into designmode the two hidden tables are displayed thus allowing me to change the data in them .......  

Thanks for everyone's help ....

Joel
0
 
LVL 22

Expert Comment

by:CompProbSolv
ID: 41874766
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.
0
 

Author Comment

by:jtbrown1111
ID: 41874803
@ 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
0
 

Author Closing Comment

by:jtbrown1111
ID: 41880272
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 .......
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question