LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Repost: Userfrom Back Color

The backcolor of a userform could be any one of 16+ million colours, or are
you looking for system colours. If so search for examples with the
GetSysColor API.

Regards,
Peter T

"Abdul" wrote in message
ups.com...
I found the follwing to get the interior color of a cell

How I could get ALL the POSSIBLE Back Color of a userfrom the same way?



Sub ListColorIndexes()
Dim Ndx As Integer

For Ndx = 1 To 56
Cells(Ndx, 1).Interior.ColorIndex = Ndx
Cells(Ndx, 2).Value = Ndx
Next Ndx
End Sub

Thanks



 
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
UserFrom Back Color Abdul[_2_] Excel Programming 1 October 19th 06 09:44 AM
Match TextBox Back Color to Cell Fill Color AMY Z. Excel Programming 4 October 12th 06 06:07 PM
returning value based on font color-repost [email protected] Excel Programming 5 September 12th 06 01:57 AM
John Walkenbach Color Palette (Repost) ExcelMonkey Excel Programming 1 July 15th 05 02:50 PM
Passing Back Color to Interior Color ExcelMonkey[_190_] Excel Programming 1 March 22nd 05 04:27 PM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"