View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Johnny E. Jensen Johnny E. Jensen is offline
external usenet poster
 
Posts: 1
Default Keep cell selection

Hello NG

In a excel sheet i have 5 buttons. Colored red, green, blue, yellow and
purple.

The user must select some celles on the sheet and then click on a button.
The click should call a VBA code and place the button backcolor in the
selected cells.

My problem is that when the user clicks the button, the selected cells
disappears.
Is there a way to hold the selection until the user has clicked a button?

Kind regards

Johnny E. Jensen