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

Syntax in C 's printf function for an Excel cell formatting

Status
Not open for further replies.

dvsmas

Programmer
Jun 20, 2001
16
US
I need to send a report as an email with an attachment in an excel sheet format. Using awk, I could reformat the report ,with a "\t" in the printf statements as this is recognised as the cell separator in an xls file.
Is there any way I can set the font attributes also in a similar way?
This means I must give some character in printf so that it is recognised as a BOLD or so-and-so color when the xls is opened.
Thanks for any help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top