My code's far & away the fastest, though. On a 214-page document with 302 headings to process:
Graham's code took : 118 seconds
Greg's code took: 66 seconds
My code took: 4 seconds
Turning off screen updating for Graham's code & Greg's code (mine already had it), gave:
Graham's code took : 95 seconds
Greg's code took: 42 seconds
My code took: 4 seconds
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|