R
Risky Dave
Hi,
I have a range of cells that I need to clear before doing other stuff with
them. These cells are formatted in a particular way and some of them are
merged. I am trying to use:
Sheets("mobilisation").Range("h2:n8").Clear
but this is returning an error saying that Excel "cannnot change part of a
merged cell"
As I can both Clear and Delete the content of these cells manually, I assume
that I haven't got the syntax correct to do it in VBA?
Any help would be appreciated.
TIA
Dave
I have a range of cells that I need to clear before doing other stuff with
them. These cells are formatted in a particular way and some of them are
merged. I am trying to use:
Sheets("mobilisation").Range("h2:n8").Clear
but this is returning an error saying that Excel "cannnot change part of a
merged cell"
As I can both Clear and Delete the content of these cells manually, I assume
that I haven't got the syntax correct to do it in VBA?
Any help would be appreciated.
TIA
Dave