Home Excel Powerpoint Word Outlook Error Codes

VBA Useful Codes

Welcome to the World of VBA
Home > VBAUsefulCodes

Change colour of the Shapes


Change colour of the Shapes using VBA. It uses RGB format to specify the colour codes

Thisworkbook.Sheets("sheetname").Shapes("shape1").TextFrame.Characters.Font.ColorIndex = 1
Thisworkbook.Sheets("sheetname").Shapes("shape1").Fill.ForeColor.RGB = RGB(255, 255, 255)

Subscribe

Enter your e-mail below and get notified on the latest blog posts.




Tags

VBA Outlook KPI Excel Alt+F11 Dashboards Macros Recording Graphs Automation Developer WaterFall Powerpoint Charts Pivot Tables Forecast Charts


Follow Us