Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sub Button1_Click()
Range("A1:D10").Clear Range("A12:D15").Clear End Sub I am using a button with this code above to reset those cells to blank (deleting prevoius data). But it is deleting all the formatting also. What do I need to change or add to the code above to clear the text and numbers keeping all the formatting as it is. Also should I use a Form control button or ActiveX control button ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a button... | Excel Discussion (Misc queries) | |||
creating a button | Excel Discussion (Misc queries) | |||
Creating a Print Button | New Users to Excel | |||
creating a reset button | Excel Discussion (Misc queries) | |||
Creating button as cell | Excel Discussion (Misc queries) |