Solved

Excel VBA Button Won't Click

Posted on 2014-12-22
4
9,739 Views
Last Modified: 2014-12-22
I have an Excel file that uses VBA to extract data from a Pervasive SQL database. The VBA code runs when a button is clicked on the worksheet. Suddenly, the button won't click and the code won't run. I've checked the TrustCenter settings in Excel, and nothing has changed. Macros are set to "Disable all macros with notification." I've set the network share as a Trusted Location. Other users on the network are having the same issue. My user has domain admin rights. But when I log in under a separate domain admin account, the button does click and the VBA code runs. I can't find a GPO that might be causing this either.
0
Comment
Question by:Perfishent
4 Comments
 
LVL 10

Expert Comment

by:Anthony Berenguel
Comment Utility
are you in design mode? When you click the button does the button get selected? Or does nothing happen at all?

right click the button and make sure that there is code tied to it. Right-click, assign macro, then if a macro is tied to the button it will be displayed under Macro name:
0
 
LVL 68

Assisted Solution

by:Qlemo
Qlemo earned 200 total points
Comment Utility
This is an issue with recent updates for Office. Start a search from the %temp% folder for MSForms. exd,  and remove them, while Office is not running.
0
 
LVL 26

Accepted Solution

by:
MacroShadow earned 300 total points
Comment Utility
Yes, it is an issue with a recent update. Just discovered it after banging my head against the wall for an hour.
MS published a Fixit http://support.microsoft.com/kb/3025036/EN-US
See http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx
0
 

Author Closing Comment

by:Perfishent
Comment Utility
Deleting the MSForms.exd file did fix the problem. But the Fixit solution published by Microsoft and explained by MacroShadow was more complete and covered all of the Office programs--not just Excel. Thanks for your help!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

763 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

11 Experts available now in Live!

Get 1:1 Help Now