Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to know how to clear a cell using a command button. I can get it as
far as N/A but is there any way to stop the N/A showing? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I don't know where oyu get the N/A from? Create a command button, right
click on it, select View Code, and enter the following: Range(<your range eg"A1").ClearContents. Close the VBA editor, click on the Design icon, (the one with the pencil, triangle and ruler), and click on the button. It will clear the contents of the cell. I did not deal with naming the button etc though. "Mariann" wrote: I need to know how to clear a cell using a command button. I can get it as far as N/A but is there any way to stop the N/A showing? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
resetting last cell | Excel Discussion (Misc queries) | |||
Clear Cell Without Removing Formula | Excel Worksheet Functions | |||
Instead of a negative number, I'd like to show zero... | Excel Worksheet Functions | |||
Clear Cell based on event w/o macro? | Excel Worksheet Functions | |||
up to 7 functions? | Excel Worksheet Functions |