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: 1
Default Sub to list colorindexes and the corresponding fill colours


Private Sub CommandButton1_Click()
Set rng = Range("A1")
For i = 0 To 50
rng.Offset(i, 0) = i
rng.Offset(i, 1).Interior.ColorIndex = i
Next i
End Sub


Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=375581

 
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
TWO DIFFERENT FILL COLOURs ON MENU BAR Kirstoff Excel Discussion (Misc queries) 2 August 17th 07 04:30 PM
fill colours Khyber Setting up and Configuration of Excel 8 August 22nd 06 01:32 AM
Fill colours Theo Excel Worksheet Functions 1 January 13th 06 04:16 AM
Sub to list colorindexes and the corresponding fill colours Bob Phillips[_7_] Excel Programming 5 June 1st 05 04:06 PM
Sub to list colorindexes and the corresponding fill colours K Dales[_2_] Excel Programming 1 June 1st 05 02:42 PM


All times are GMT +1. The time now is 04:10 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"