AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,072
- Office Version
- 2019
- 2010
- Platform
- Windows
Code:
Dim x As Range
Set x = Worksheets("Sheet1").Range("C2:C5")
Dim cell
For Each cell In x
Debug.Print cell.Font.Color
Debug.Print cell.Font.Name
Debug.Print cell.Interior.Color
Next
Why does Debug.Print cell.Font.Color always return 0 regardless of the actual font color ?
This is giving an error, how might I correct it ?
Worksheets("Sheet1").Range("C2:C5").cell.font.name= "MS Sans Serif"
Thanks
Last edited: