views:

196

answers:

2

I am trying to set the background color of a worksheet tab using Apache POI. I can't seem to figure out how to set the style on the tabs themselves though.

Thanks for the help!

A: 

This example may be helpful.

trashgod
It is not helpful. It only addresses setting the cell styles. I need to set a Style on the worksheet tab not the cells within it. I can't find a method or any way to access style information associated with the Sheet's tab.Thanks though.
Casey
The Sheet1, Sheet2, ... tabs? I didn't know the color could be changed at all.
trashgod
yeah, just right click on the tab and select the 'Tab Color' menu item.
Casey