Thread: Clear cells
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Paul B Paul B is offline
external usenet poster
 
Posts: 709
Default Clear cells

Hitu, use this code for your command button

Range("A1:A10").ClearContents
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Hitu" wrote in message
...
How can I Clear range of cells (e.g. a1,,a10) using a command button on a
worksheet??? I want to use VBA.