Command Button deactivated

Eric Kelcher

Board Regular
Joined
May 11, 2006
Messages
127
Not sure what has happened, I had a malware attack while using Excel, shut everything down, scanned and cleaned computer now my command buttons no longer work in any file.

SO thinking it must be a setting that has gotten tripped but can't find it.
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

scott_n_phnx

Active Member
Joined
Sep 28, 2006
Messages
445
Did you have a macro that turned off events (<b>Application.EnableEvents = False</b>)? It may need to be turned back on with <b>Application.EnableEvents = True</b>.

Code:
Sub TurnOnEvents()

Application.EnableEvents = True

End Sub
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
5,146
Mmmm, it's probably not malware, but the recent Windows update. There quite a few threads on this forum regarding same.

Use a cleanup software to clean all temp files (e.g. CCleaner), or
manually search for *.exd files and delete them.
 

Eric Kelcher

Board Regular
Joined
May 11, 2006
Messages
127
Yeah, I ran both the macro to enable events and deleted the .EXD files from my temp folder, Hopefully I don't have this problem again tomorrow.
 

Watch MrExcel Video

Forum statistics

Threads
1,095,146
Messages
5,442,639
Members
405,190
Latest member
KFrank

This Week's Hot Topics

  • Copy entire row if CountA <>0 to another sheet
    [B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
  • Select last used Row in Table
    I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
  • excel workbook: do not allow certain file name
    Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
  • fixing problem autofilter
    hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
  • “Weight”
    Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
  • How to capitalize everything before a certain character?
    In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...
Top