VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Need correction in code, little correction..
Error - Object doesn't support this property or method..
Error - Object doesn't support this property or method..
Code:
With Worksheets("Sheet1")
For i = 3 To RowCnt1
If .HorizontalAlignment = xlLeft Then[COLOR=#ff0000]............Getting an error on this[/COLOR]
.Cells(i, 6).Interior.Color = vbRed
End If
Next i
End With
Last edited: