Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi all,
I want to have a button clear the contents of a list of cells. Can anyone help me? Thanks, Rudy |
#2
![]() |
|||
|
|||
![]()
Hi Rudy
Assign a macro like this to the thing: Sub ClearMyArea() Sheets(1).Range("A2:C14").ClearContents End Sub HTH. Best wishes Harald "Atlanta Rudy" skrev i melding ... Hi all, I want to have a button clear the contents of a list of cells. Can anyone help me? Thanks, Rudy |
#3
![]() |
|||
|
|||
![]()
Sure, Excel has a Icon button just for that!
Here is how to get it: Right click on your Icon bar in Excel. Choose Customize... (at the bottom of the list). Select tab 'Commands'. Select 'Edit' under Catagories. Now scroll down under Commands until you find the button 'Clear Contentes' (looks like an eraser). Drag and Drop it in your Excel Icon bar. Done! Ola Sandstrom |
#4
![]() |
|||
|
|||
![]() Rudy maybe simpler than writing your own macro is to use a standard menu button. Right click toolbars Select Customize Select 2nd tab Select Edit category Search for the ClearContents item and drag it to a toolbar. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam Harald Staff wrote : Hi Rudy Assign a macro like this to the thing: Sub ClearMyArea() Sheets(1).Range("A2:C14").ClearContents End Sub HTH. Best wishes Harald "Atlanta Rudy" skrev i melding ... Hi all, I want to have a button clear the contents of a list of cells. Can anyone help me? Thanks, Rudy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Spreadsheet "buttons" that cannot be removed | Excel Discussion (Misc queries) | |||
What happened to Subscript and Superscript Buttons in Excel? | Charts and Charting in Excel | |||
How do I hide tab scrolling buttons? | Excel Discussion (Misc queries) | |||
Can I use more than one set of option buttons in a worksheet? | Excel Worksheet Functions | |||
VBA: Disable Frame and Radio Buttons based on Another Radio Button Being True | Excel Worksheet Functions |