Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Excel Color Pallet in .NET/C#

Status
Not open for further replies.

leo2180

IS-IT--Management
Jun 7, 2000
52
US
Hi, I'm trying to figure out a way to change the default color pallet in Excel but in C#/.NET.

I can do this is VB like this: ActiveWorkbook.Colors(17) = RGB(61, 61, 61), which basically changes the 17th color in the pallet to that unique RGB value (61,61,61). I can't find though how to do the equivalent in C#.

Can anyone help or point me to a solution?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top