Solved

Word 2007 Command Button not displaying

Posted on 2015-01-02
2
333 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
[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
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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 …

617 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