![]() |
|
#10
|
|||
|
|||
|
Marrick,
Try this revision: oFld.Select 'Add this line arrTemp(0, lngCOunt) = Selection.Information(wdActiveEndPageNumber) '.Code.Information(wdActiveEndPageNumber) Show field codes in your document and I think you will see that the page numbers that were reported reflect where the expanded fields lie. With the revision above the true page numbers were returned here. |
| Tags |
| autotextlist, extract, field |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to find text and replace with form field containing that text
|
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
| Macro to find coloured text and replace with form-field/formtext containing that text | tarktran | Word VBA | 1 | 11-26-2014 08:12 AM |
Word 2007 Macro Fillin Field to Text
|
mhblake | Word VBA | 5 | 01-08-2014 08:22 AM |
| Autotextlist Gone | Wilson | Word | 1 | 04-04-2010 02:44 PM |
Extract email address from field
|
zssteen | Excel | 1 | 06-19-2009 02:32 AM |