Solved

MS Word 2013 Document Question

Posted on 2016-11-03
9
21 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 20

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
 
LVL 20

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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 20

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now