Question : Use Command Button to set cell value

i have a command button in excel 2007 that i need to use to set a cell value when a user clicks on it.

for example when someone clicks on the button i need teh value in cell C1 to be set to "True". can someone help me with the VBA for this type of function?

Answer : Use Command Button to set cell value

In the CommandButton_Click event in the relevant worksheet (VBA editor), type the following -

Activesheet.Cells(1,3).value = True
Random Solutions  
 
programming4us programming4us