Solved

Word 2007 Command Button not displaying

Posted on 2015-01-02
2
324 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:
SimonAdept 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

743 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

9 Experts available now in Live!

Get 1:1 Help Now