ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,683
- Office Version
- 2007
- Platform
- Windows
Hi,
Please see screenshots
.
You will see that the 2 cells in question are G49 & G50
This is the simple code im using just to clear cells.
But when i run the code i am told it cant because they are merged ?
Why is this thanks
Please see screenshots
.
You will see that the 2 cells in question are G49 & G50
This is the simple code im using just to clear cells.
But when i run the code i am told it cant because they are merged ?
Why is this thanks
VBA Code:
Private Sub ClearAllPageDetails_Click()
Range("G13").ClearContents
Range("N18").ClearContents
Range("G27:N36").ClearContents
Range("G46:G48").ClearContents
Range("G49").ClearContents
Range("G50").ClearContents
End Sub