Amjad Sahi:Please try the attached version as I have tested setting plotarea's border color and it works fine in both 2003xls and 2007xlsx files. Could you give us details which other formatting attributes are not working in 2007xlsx files.
Thanks for that. Another formatting feature that does not work is the rotation of the category axis labels:
chart.CategoryAxis.TickLabels.Rotation = 45;Just like the with the previous issue, this works when saving as .xls but not .xlsx