Microsoft
Software
Hardware
Network
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).val
ue = True
Random Solutions
Automatically run VB script upon entering web page
Max size for Distribution list?
Why my laptop shutdowns automatically while reformatting?
Explorer can't find network PC but Remote Desktop/ping can
mysql: convert 2 bytes from blob to integer
Windows XP SP2 Install Problem
registry change to remove CTRL ALT DEL logon on domain
Group Policy for standard Desktop Property/Profile Roaming User
Need an Excel Macro to offset every other row
Default Domain Name for Terminal Server login defaults to local computer name instead of domain name