Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have command button for deleting values in some cells, but it doesn't
work. Can someone help? Thanks !! Private Sub cmdDelete_Click() Dim a As Boolean a = MsgBox("Do you want to delete?", vbYesNo) Select Case a Case a = vbYes Worksheets(1).Range("C4:C13,E28:G32,E34:G36,E38:G4 8,E50:G57").Select Selection.ClearContents Case a = vbNo ActiveSheet.Range("C4").Select End Select End Sub Thanks!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete command button | Excel Programming | |||
Delete command button | Excel Programming | |||
Delete a custom button by holding down the ALT key and dragging the button off the toolbar | Excel Programming | |||
Command Button vs Control Button | Excel Programming | |||
copy and delete command button | Excel Programming |