QP School

Full Version: Formatting cells with VBA
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Description:

You can format cells using various properties of the Font and Interior objects.

Example:

Sub ExampleFormattingCells()
    Range("A1").Font.Bold = True
    Range("A1").Interior.Color = RGB(255, 255, 0)
End Sub