Table performance

B

bakshi

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
 
J

Jay Freedman

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top