![]() |
#6
|
|||
|
|||
![]()
Andrew,
Awesome! The GetCrossReferencedItems/wdRefTypeHeading is the key! I need to read up on that a bit more. This might solve another problem for me too! Had to make two minor tweeks to your example code: If InStr(Trim(v), Trim(strTargetHeading)) = 1 Then added the Trim() and set the find location to one. The first test case I ran using "3.1" found "2.3.1". Thanks for the help! Don |
Tags |
heading numbering, search, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
cheech1981 | Word | 9 | 01-11-2017 02:14 AM |
![]() |
pemartins | Excel | 16 | 02-24-2014 11:39 PM |
![]() |
SteveWcg | Word | 5 | 01-08-2014 10:37 PM |
![]() |
ubns | Word VBA | 44 | 09-04-2012 08:17 PM |
![]() |
rossi45 | Word | 2 | 05-04-2012 06:03 PM |