![]() |
|
#3
|
||||
|
||||
|
Greg
Without the DoEvents, on my machine the selection doesn't change so I think we can say there is variable behaviour with the selection. Another alternative you might also add to the experiment list is to add the temp doc invisibly. Is it closing the temp doc that is the issue on your machine or changing the activedocument? Code:
Set oDocTmp = Documents.Add(Visible:=False)
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Selection.Information not working as intended for selection position
|
m2ramos | Word VBA | 3 | 11-07-2022 05:54 AM |
| Help with Selection VBA | JamesWood | Word VBA | 6 | 11-17-2020 06:46 AM |
Is there a way to go to the next selection?
|
wardw | Word | 2 | 09-25-2019 09:19 AM |
Selection.Bookmarks("\headinglevel") WITHOUT Selection
|
NobodysPerfect | Word VBA | 3 | 01-14-2015 12:58 PM |
Selection of all Text for a specific page in word is spanning selection across pages
|
ramsgarla | Word VBA | 9 | 12-05-2012 03:23 AM |