On Thu, Apr 4, 2013 at 12:55 PM, Josh English
<
joshua.r...@gmail.com> wrote:
> I would like to know if it's possible to add borders to cells once they are
> already written.
In a literal sense, no. The very act of writing a cell involves
writing (a reference to) the format as well.
> It seems like the only way to get this to work is to define nine separate
> formats for a simple table and determine which format to use It could really
> take 27 or even 36 formats for most of my work. It seems awfully
> complicated.
Easier border-handling for rectangular ranges is a common request for
xlwt as well. The problem is that in terms of the file format, it
really is that complicated. Especially so if you want to be
economical with respect to the number of formats used.
It's possible to add this enhancement, of course, just not in as
straightforward a manner as the Excel GUI makes it seem. (Excel is a
massive program that does a huge amount of work behind the scenes.)
John Y.