![]() |
|
#1
|
|||
|
|||
![]()
Instead of using Selection as the required expression, use a range object, i.e.,
Dim rngDoc as Range ... Set rngDoc = ActiveDocument.Words(1) i = rngDoc.MoveUntil(Cset:="+", Count:=wdBackward) Seems like ActiveDocument.Words(1) would eliminate Comments in its Range. |
![]() |
Tags |
comment, moveuntil, word hangs |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word hangs completely when editing punctuation | cydevil | Word | 4 | 11-24-2016 04:16 PM |
![]() |
pintree3 | Office | 5 | 04-14-2014 02:27 PM |
![]() |
KevinJ | Word VBA | 2 | 11-05-2012 01:27 PM |
![]() |
pstein | Word | 2 | 03-31-2012 05:31 AM |
Hyperlink Look In Hangs Word 2010 | drumms | Word | 0 | 02-24-2012 11:35 AM |