View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Scott Scott is offline
external usenet poster
 
Posts: 30
Default Passing Values From Command Buttons

How do I pass a value from a command button to a procedure

Let's say I have four command buttons, one labeled "Red", "Green", "Brown" and one labeled "Yellow"
Let's also say that I have a procedure named "ColorCell"

How do I get the procedure to color the cell appropriately depending on which button is clicked

Thank you
Scott