Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Code for clearing Cells
I need help clearing a range of cells using vb code in place of a long drawn
out macro. My cell range is D11 to D22 In these cells I have a TRUE/FALSE attached to a tick box. When I press the button to move to the sheet I would like these cells to say FALSE and remove any ticks. Can anyone help. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Code for clearing Cells
I would think this would work:
ActiveSheet.Range("d11:d22").Value = False Rich wrote: I need help clearing a range of cells using vb code in place of a long drawn out macro. My cell range is D11 to D22 In these cells I have a TRUE/FALSE attached to a tick box. When I press the button to move to the sheet I would like these cells to say FALSE and remove any ticks. Can anyone help. -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
VB Code for clearing Cells
Thanks Dave
"Dave Peterson" wrote: I would think this would work: ActiveSheet.Range("d11:d22").Value = False Rich wrote: I need help clearing a range of cells using vb code in place of a long drawn out macro. My cell range is D11 to D22 In these cells I have a TRUE/FALSE attached to a tick box. When I press the button to move to the sheet I would like these cells to say FALSE and remove any ticks. Can anyone help. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code question for clearing a command checkbox. | Excel Discussion (Misc queries) | |||
clearing cells | Excel Worksheet Functions | |||
Code crashes after clearing comments | Excel Worksheet Functions | |||
Clearing all Active Cells | Excel Worksheet Functions | |||
Clearing Cells | New Users to Excel |