tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
Can someone please tell me why this works:
but this doesn't:
The error message is:
Thanks
Code:
Sheet1.Shapes("Button").Select
With Selection
.ShapeRange.Fill.ForeColor.RGB = 12345
End With
but this doesn't:
Code:
With Sheet1.Shapes("Button")
.ShapeRange.Fill.ForeColor.RGB = 12345
End With
The error message is:
Code:
Object doesn't support this property or method
Thanks
Last edited: