Blobajob88
Board Regular
- Joined
- Mar 27, 2020
- Messages
- 55
- Office Version
- 365
- 2019
- Platform
- Windows
Hi,
Can anyone tell me why the following code won't work:
Can anyone tell me why the following code won't work:
VBA Code:
Range("M5").Validation.Delete
Range("M5").Validation.Add Type:=xlValidateList AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Orange,Apple,Mango,Pear,Peach"
Range("m5").Validation.InCellDropdown = True