Commandbutton backcolor

UHsoccer

Well-known Member
Joined
Apr 3, 2002
Messages
1,021
I successfully have used the following code to set the back color (44 Orange) of command buttons

Code:
Sheets("Main").CommandButton1.BackColor = RGB(255, 204, 0)
At least until today, it now fails on my computer and on the user computer!

The command button exists BUT displays the run-time error 438 message:

"Object doesn't not support this property or method"

Thanks in advance
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

UHsoccer

Well-known Member
Joined
Apr 3, 2002
Messages
1,021
Fascinating, it solved it

BUT

The files had a 2012 date associated with them....
As in "why did it start just today"???
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
34,793
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
There's a conflict between the information in those .exd files and the files that Tuesday's Office patches updated.
 

Watch MrExcel Video

Forum statistics

Threads
1,095,142
Messages
5,442,632
Members
405,188
Latest member
maluenmaluen19

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