Thread

Posted on Tue Jun 5 01:05:27 2007 by pauld
Bug in cellValue and updateCell?
Hi there, I have a routine that will take an array of table data and some extra flags for updating existing tables. Sometimes, the header information is included in the array (as indicated by one of the additional flags), in which case the routine is meant to replace the pre-existing header cell contents with the new text.

My subroutine is working as it should, but it isn't replacing *all* of the previous cell contents. Where the original header contains multiple lines (i.e. wrapped), only the first line is replaced. So, if the original header cell contains:

+-----------+
|My text |
|to replace |
+-----------+

It becomes:

+-----------+
|[New text] |
|to replace |
+-----------+

I of course want:

+-----------+
|[New text] |
+-----------+

Is this due to a bug, or is it a feature? :o)

What work-around could I use?

Cheers,
Paul
Direct Responses: 5324 | Write a response
Posted on Tue Jun 5 23:35:00 2007 by jmgdoc in response to 5311
Re: Bug in cellValue and updateCell?
Could you show the routine that should update the header cells ?
Write a response