![]() |
#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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
m2ramos | Word VBA | 3 | 11-07-2022 05:54 AM |
Help with Selection VBA | JamesWood | Word VBA | 6 | 11-17-2020 06:46 AM |
![]() |
wardw | Word | 2 | 09-25-2019 09:19 AM |
![]() |
NobodysPerfect | Word VBA | 3 | 01-14-2015 12:58 PM |
![]() |
ramsgarla | Word VBA | 9 | 12-05-2012 03:23 AM |