ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Colour listing.. (https://www.excelbanter.com/excel-programming/367768-colour-listing.html)

Darin Kramer

Colour listing..
 
Guys,

Anyway to automatically populate individual cells in a column with all
the different background colours (well primary ones) Each cell to have
a different background colour until u run out of colours...?

Thanks

me


*** Sent via Developersdex http://www.developersdex.com ***

[email protected][_2_]

Colour listing..
 
Sub ShowColours()

dim i as long

for i = 1 to 56
cells(i,1).interior.colorindex = i
next

End Sub


RBS

Darin Kramer wrote:
Guys,

Anyway to automatically populate individual cells in a column with all
the different background colours (well primary ones) Each cell to have
a different background colour until u run out of colours...?

Thanks

me


*** Sent via Developersdex http://www.developersdex.com ***




All times are GMT +1. The time now is 08:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com