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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating Excel Subtotals

Status
Not open for further replies.

AlanArons

Programmer
Aug 1, 2002
91
US
Hi all,

I have an Excel macro in which the subtotal function is used, it inserts one line and bolds just the column information that the subtotal is done on.

Is there a way to either a) insert more rows, b) Change the font attribute to bold for all cells in each subtotal row or c) in any other way distinguish the data in the row from the rest of the sheet?

Thanks for your help,

Alan Arons [ponder]


 



Hi,

could you not use the Formt/Conditional Formatting... feature, using UPPER(Right(A2,len(A2)-5))="TOTAL" as the criteria? No other code required.

Skip,

[glasses] [red][/red]
[tongue]
 
Will that format the entire row, or just the one cell?

Alan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top