Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i have a shape on a worksheet named "Oval 1"
i want to use the shape as a toggle button to change its color. a macro runs when it is clicked: If Range("A1") = False Then ActiveSheet.Shapes("Oval 1").Fill.ForeColor.SchemeColor = 65 Range("A1") = True Exit Sub End If If Range("A1") = True Then ActiveSheet.Shapes("Oval 1").Fill.ForeColor.SchemeColor = 47 Range("A1") = False Exit Sub End If the problem i am running into is that if you click the shape too fast, it stays the same color, but eventually changes if you wait a second. is there a better way to set it up like this so this problem doesn't happen? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Make a cell display the contents of a shape | Excel Worksheet Functions | |||
my curser changed from arrow shape to a cross shape???? | New Users to Excel | |||
Can I erase part of a shape in Excel flowchart to make a "doorway. | Charts and Charting in Excel | |||
make toggle checkmark box | Excel Discussion (Misc queries) | |||
Deleting a shape and the cell contents the shape is in. | Excel Programming |