Thread
:
Converting color codes in VBA
View Single Post
10-29-2013, 10:06 PM
macropod
Windows 7 32bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
Hi Ulodesk,
Is there a reason you can't work with the RGB values directly? For example:
Code:
Sub Demo() Selection.Cells(1).Shading.BackgroundPatternColor = RGB(225, 225, 225) End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod