QP School
Formatting cells with VBA - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: Excel VBA Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=48)
+--- Thread: Formatting cells with VBA (/showthread.php?tid=5223)



Formatting cells with VBA - Qomplainerz - 07-27-2023

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