Dazzybeeguy
Board Regular
- Joined
- Jan 6, 2022
- Messages
- 72
- Office Version
- 365
- 2010
- Platform
- Windows
Hi
I want to allow the user to change a cell contents to a given Criteria
I wanted to add Validation droop down where they select Del in cell B9
I want to create VBA that on that action would clear the cell contents of a range C9:BH9
Is that possible, I cant seem to be able to assign a macro on that basis
Sub clear9()
If Range("b9").Value = "Del" Then
Range("c9:bh9").ClearContents
End If
End Sub
I want to allow the user to change a cell contents to a given Criteria
I wanted to add Validation droop down where they select Del in cell B9
I want to create VBA that on that action would clear the cell contents of a range C9:BH9
Is that possible, I cant seem to be able to assign a macro on that basis
Sub clear9()
If Range("b9").Value = "Del" Then
Range("c9:bh9").ClearContents
End If
End Sub