Solved

Word 2007 Command Button not displaying

Posted on 2015-01-02
2
326 Views
Last Modified: 2015-01-03
I have a Command button on a Word macro enabled template which has always worked fine to link to a current Data Source (which has been exported from Access) and merge letters.  Something I use on a number of databases without any problems.

However, without any apparent reason, now when the user opens the Word document the command button is not visible.  When I go to Design View it is there with the code but disappears when returning to Form view.

I have the formatting set to Hidden so that it does not display on the merged letters but removing this makes not difference and I cannot see anything in Properties which would be hiding the button.

Does anyone have any ideas?  

Thank you in advance.
0
Comment
Question by:PerksP
2 Comments
 
LVL 18

Accepted Solution

by:
Simon earned 500 total points
ID: 40527832
This appears to be a problem with ActiveX controls since the December 2014 security update:
see the following two MS links for description and possible workarounds...
http://support.microsoft.com/kb/3025036
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx
The main resolution is to find and delete all .exd files, which are the cached control type libraries (extender files). They should be recreated automatically.

This worked for me. When initially trying to replicate your problem I couldn't add an ActiveX command button to a Word document, but after finding and removing ALL instances of MSForms.exd and restarting Word, I was able to.

A new version of the .exd file was created
C:\Users\XXX\AppData\Local\Temp\Word8.0

One thing I note though is that the ActiveX CommandButton control doesn't have a visible property... so I assume you used font formatting to hide it when printing.
0
 

Author Closing Comment

by:PerksP
ID: 40529342
Great, thanks Simon.  We have performed the steps and that has sorted the problem so are very grateful to you for posting these articles.  Although our problem wasn't actually listed as a symptom it was clearly caused by the same issue.
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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

914 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

14 Experts available now in Live!

Get 1:1 Help Now