View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default CheckBox value to worksheet

Mark assumed that column A would be the active cell

Cells(activeCell.row,2).Value = iif(checkbox1.value,"Yes","No")


might be more robust.

--
Regards,
Tom Ogilvy

"Patrick Simonds" wrote in message
...
I have one CheckBox on my user form, if it is checked I want the Value Yes
(or No if the CheckBox is not selected) to go into the active row column 2
(using something like rng(1, 2).Value = ???). My macro already sets the
current row as active, I just do not know how to code this.