I have written asmall reporting application using macros but if I use a
table, the performance is really slow. What is the best way (API) to use in
this kind of a scenario
Working with tables can be slow, and there are some ideas at
http://www.word.mvps.org/FAQs/TblsFldsFms/FastTables.htm for avoiding
the worst traps.
Often, though, the macros I see are slow because they try to work with
the Selection object instead of Range objects. That incurs a lot of
overhead, as Word has to redraw the screen every time the Selection
moves enough to cause scrolling.
--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.