Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to create a Command Button that when pressed will set the value of
cell D10, for example, to the value in C10. I suspect there's an easy solution, but not yet found it in the VBA book I have. Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Enter this in your VBA module.
Sub ChangeValue() Range("D10").value = Range("C10").value End Sub Then create a command button, and assign it the ChangeValue macro. -- Best Regards, Luke M "Chuck" wrote: I want to create a Command Button that when pressed will set the value of cell D10, for example, to the value in C10. I suspect there's an easy solution, but not yet found it in the VBA book I have. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why are my options resetting themselves? | Excel Discussion (Misc queries) | |||
password resetting | Excel Discussion (Misc queries) | |||
resetting last cell | Excel Discussion (Misc queries) | |||
Resetting values based on change in cells of other column | Excel Discussion (Misc queries) | |||
Resetting the end of a worksheet | New Users to Excel |