View Single Post
 
Old 04-07-2014, 09:05 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There's some code to get you started at: http://www.tech-archive.net/Archive/.../msg00359.html

It should work with any Office application. As coded, the userform merely changes it's own background colour - you'd need to modify the line 'Me.BackColor = cc.rgbResult' to do whatever colouring you want for each application. to colour the selected text in Word, for example, you could use 'Selection.Font.Color = cc.rgbResult'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote