Solved

Excel VBA Button Won't Click

Posted on 2014-12-22
4
10,577 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
ID: 40513927
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
ID: 40513939
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 27

Accepted Solution

by:
MacroShadow earned 300 total points
ID: 40513950
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
ID: 40513980
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

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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 will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

912 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

22 Experts available now in Live!

Get 1:1 Help Now