LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default single colour system for textboxes

As far as I can see, when playing with textboxes in VBA there are three
different ways to set the colour of a characteristic: RGB, SchemeColor or
ColorIndex.
BUT they aren't interchangeable. Some properties prefer one command (if you
record a macro) but will accept another.
To set the border colour or fill colour you can use RGB references
RGB(255, 255, 255)
or scheme colours
SchemeColor = 65
but to set the font colour you can only use the colour index
ColorIndex = 2

The above are 3 different ways to say WHITE.
Is there a single form that will always work ? Doesn't look that way to me
but hopefully the grand masters out there know a way.

--
WinXP - Office2003 (Italian)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I open an Excel file on XP system, saved on a Vista system JLS7 Excel Discussion (Misc queries) 3 December 2nd 08 04:21 AM
Show Results in TextBoxes, ONLY if All TextBoxes have Data in them RyanH Excel Programming 3 November 19th 07 03:30 PM
Can I make different colour gridlines in a single chart in Excel? cambium Charts and Charting in Excel 2 March 9th 07 05:39 PM
how do i assign a cel a colour system on a monthly report? LJ Excel Discussion (Misc queries) 1 October 23rd 06 01:28 PM
excel causing system to be in low system resource inenewbl Excel Discussion (Misc queries) 0 April 5th 05 04:11 PM


All times are GMT +1. The time now is 10:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"