Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-29-2013, 01:53 PM
Ulodesk Ulodesk is offline Converting color codes in VBA Windows 7 64bit Converting color codes in VBA Office 2010 64bit
Word 2013 Expert Cert
Converting color codes in VBA
 
Join Date: Sep 2009
Location: Virginia
Posts: 872
Ulodesk is on a distinguished road
Default Converting color codes in VBA

I have been unable to find an explanation of Word's (or VBA's, perhaps)7- or 8-digit color codes. Some references suggest a hexadecimal system, but what I see doesn't appear to match this.

For instance, an RGB 225/225/225 gray in hex is E1E1E1, but in VBA it appears as 'color pattern" 5131854. This is a macro used for filling selected table cells with color.

I would like to be able to change a color in a macro quickly without having to re-record the macro, but I would need an RGB converter, or at least a hex converter, to whatever this system is.

Can anyone point me in the right direction, please? Thanks.
Reply With Quote
 

Tags
color, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting color codes in VBA Codes Popping Up In My Text? Faedrie Word 1 11-08-2012 01:00 AM
Converting color codes in VBA Codes for Word Textbox Font Color? tinfanide Word VBA 7 10-23-2012 03:13 PM
Converting color codes in VBA Losing VBA codes in .dotm tinfanide Word VBA 15 04-12-2012 12:39 AM
Converting color codes in VBA Outline Codes eliz.bell Word 4 03-28-2012 07:27 PM
Why run-time is always different from stepping into the codes? tinfanide Excel Programming 1 03-04-2012 12:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft