Hello
I cannot work out why I cannot clear a range on a hidden sheet.
I have tried the following, but neither work unless I am on the sheet.
Any suggestions please?
Thanks
I cannot work out why I cannot clear a range on a hidden sheet.
I have tried the following, but neither work unless I am on the sheet.
Code:
With Sheets("Exchange Rates")
.Range("B19", Range("B19").End(xlToRight)).ClearContents
End With
Code:
Sheets("Exchange Rates").Range("B19", Range("B19").End(xlToRight)).ClearContents
Any suggestions please?
Thanks