Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2007

Tip: Looking for answers? Try searching our database.

speed up bookmark update

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
x - 04 Apr 2007 23:20 GMT
hi, is there any tip or guideline to speed up a document bookmarks update
(from vb6 program) ..
we are trying both bookmark.range.text, both wdsetfields .. any other
suggestion ?

thak in advance
best regards

Signature

Enrico Sabbadin
MTS/COM+/VBCOM/.NET FAQ: http://www.sabbasoft.com
BLOG: http://www.sabbasoft.com/myblog

Jean-Guy Marcil - 05 Apr 2007 17:38 GMT
x was telling us:
x nous racontait que :

> hi, is there any tip or guideline to speed up a document bookmarks
> update (from vb6 program) ..
> we are trying both bookmark.range.text, both wdsetfields .. any other
> suggestion ?

I am sorry but I don't quite get what you are trying to do.
What is "bookmark update"?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

old man - 08 Apr 2007 20:58 GMT
Hi,

Please post a code sample of what is running slowly. In general  you want to
use range instead of selection objects and from VB you want to declare your
variables as specifally as possble so there is as little, if any, late
bindings going on.

Dont declare "dim x" or "dim x as variant" but use "dim x as bookmark." Try
using "with" statements in your code.

Word VBA performance does not degrade gradually - it goes along fine and
then, when there are too many of something (too large a document, more then x
number of sections....) it gets really slow. Where that happens depends on a
combination of the document size, complexity and the version of Word and the
code.

old man

> hi, is there any tip or guideline to speed up a document bookmarks update
> (from vb6 program) ..
[quoted text clipped - 3 lines]
> thak in advance
> best regards
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.