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
Solved

MS Word 2013 Document Question

Posted on 2016-11-03
9
26 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
  • 5
  • 3
9 Comments
 
LVL 21

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 250 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 21

Assisted Solution

by:CompProbSolv
CompProbSolv earned 250 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 21

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There is a feature provided by MS Word that lets you create an Table of Contents for your Word document automatically. To use this feature for other documents there are two steps involved,   1.  Prepare your document for a table of contents (he…
Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

860 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