[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Word 2007 Command Button not displaying

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
PerksP
Asked:
PerksP
1 Solution
 
SimonCommented:
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
 
PerksPAuthor Commented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now