Formatting Cells in Excel

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
Guest
Posts: 83
Joined: Tue Aug 16, 2005 6:08 pm

Formatting Cells in Excel

Post by Guest »

My users cannot make any changes to the format of cells in the spreadsheets produced. They right click and select "Format Cells" and no dialog comes up. The buttons on the toolbar don't work either. We use Excel 2003.

Is there any way around this?
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

Can you please give me an example on how you have formetted the cells?


Lars Arvidsson
Guest
Posts: 83
Joined: Tue Aug 16, 2005 6:08 pm

Post by Guest »

When I draw a border like this:

Worksheet.Range.Items[Col, Row, RightCol, BottomRow].BorderOutlineStyle := cbsThin;

they can't use Excel to modify the format of the cells, or the cells adjacent to the range horizontally or vertically. Do I need to send you a spreadsheet?

Thanks
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

You must set the color of the border as well.


Lars Arvidsson
Guest
Posts: 83
Joined: Tue Aug 16, 2005 6:08 pm

Post by Guest »

Thanks - that did it.
Post Reply