How are you updating the table? The insertion of leading spaces that aren't in the source data is not the normal behaviour. Furthermore, if the tables are formatted as right-aligned before updating, adding data to the cells, or changing what's already there, won't change the alignment.
There's a couple of problems with your code, but we'll address those if necessary after sorting out the data issues.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|