Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I used a shape from the drawing tool barrecorded thisadded msgbox "hi".
Play with it Sub Macro7() ' ' Macro7 Macro ' Macro recorded 11/30/2007 by Donald B. Guillett ' ' MsgBox "hi" ActiveSheet.Shapes("Rectangle 1").Select Selection.ShapeRange.Fill.Visible = msoTrue Selection.ShapeRange.Fill.Solid ' chg number below Selection.ShapeRange.Fill.ForeColor.SchemeColor = 66 Selection.ShapeRange.Fill.Transparency = 0# Selection.ShapeRange.Line.Weight = 0.75 Selection.ShapeRange.Line.DashStyle = msoLineSolid Selection.ShapeRange.Line.Style = msoLineSingle Selection.ShapeRange.Line.Transparency = 0# Selection.ShapeRange.Line.Visible = msoTrue Selection.ShapeRange.Line.ForeColor.SchemeColor = 66 Selection.ShapeRange.Line.BackColor.RGB = RGB(255, 255, 255) End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Cong Nguyen" wrote in message ... Is there a command to change the Macro button to another color after clicked? Many thanks. -- Cong Nguyen |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Don,
It works. Thank you. -- Cong Nguyen "Cong Nguyen" wrote: Is there a command to change the Macro button to another color after clicked? Many thanks. -- Cong Nguyen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Macro Button Color 2007 | Excel Discussion (Misc queries) | |||
let a sub recognise the name of the button that has been clicked. | Excel Discussion (Misc queries) | |||
Button or key to conditionally change text foreground color? | New Users to Excel | |||
Button or key to conditionally change text foreground color? | New Users to Excel | |||
set up a macro in Excel to color cells when clicked | Excel Worksheet Functions |