![]() |
|
#3
|
|||
|
|||
|
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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word hangs completely when editing punctuation | cydevil | Word | 4 | 11-24-2016 04:16 PM |
How to make Office (Word) 2010 stick to the present task
|
pintree3 | Office | 5 | 04-14-2014 02:27 PM |
VBA equivalent to selecting present word
|
KevinJ | Word VBA | 2 | 11-05-2012 01:27 PM |
How to insert a (balloon) comment and how to disable comment feature in Word2007?
|
pstein | Word | 2 | 03-31-2012 05:31 AM |
| Hyperlink Look In Hangs Word 2010 | drumms | Word | 0 | 02-24-2012 11:35 AM |