Solved

Command button not working and can't add new buttons to workbook

Posted on 2014-12-11
2
785 Views
Last Modified: 2014-12-11
Hi All

I created a workbook that has a command button ActiveX control on a sheet to show a userform. The userform in turn has several controls. All of this was working fine yesterday.

When I opened the workbook this morning, the command button that displays the form did not respond and I cannot add new activeX controls to the sheet (I get an error message saying "Cannot insert object". This also happens if I open a new workbook and try to insert an activeX control.

However, if I insert a windows forms control and assign a macro to it to show the form, it works perfectly - I can even add new activex controls to the userform and they do what they are supposed to.

The sheets and workbook are not protected and macros have been enabled.

I've tried closing and reopening Excel, shutting down and restarting the computer, etc. but I still have the issue with activeX controls in worksheets.

How can it be fine yesterday and suddenly not work today?

Any help would be greatly appreciated.

Regards

Terry
0
Comment
Question by:Terrygordon
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 40493561
The latest Office updates have screwed things up. Have a read of this: http://excelmatters.com/2014/12/10/office-update-breaks-activex-controls/

You basically need to delete all .exd files from your computer (with all Office apps closed) then try again.
0
 

Author Comment

by:Terrygordon
ID: 40493686
Thanks Rory - problem solved. Good old Microsoft. :-)

Regards

Terry
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Checkout file from sharepoint server with password 2 39
Excel - INDEX MATCH error 13 24
Records from Access to Excel to specific cells 5 25
NEED TRANSFER  DATA 59 20
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

856 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