![]() |
|
#5
|
|||
|
|||
|
Thanks again, Macropod. I enabled the Word object model and updated the file path & name. It's giving me the following error message:
Run-time error '-2147023170 (800706be)': Automation Error The remote procedure call failed. When I debug it, it highlights the following line of code: StrTxt = StrTxt & " " & .Duplicate.Information(wdActiveEndPageNumber) I searched around and saw someone was having similar problems. I tried setting some of the variables (e.g., wdApp and wdDoc) as objects but still no luck. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Page numbers at bottom of page in Word | maggie122097 | Word | 1 | 04-21-2014 01:21 PM |
| How do I refer to page numbers, when the numbers change as I prepare the document? | StevenD | Word | 5 | 11-29-2012 12:52 AM |
unable to insert page numbers in Word
|
thislife95 | Word | 2 | 06-05-2012 08:07 AM |
Page Numbers Not Matching Chapter Numbers
|
gracie5290 | Word | 1 | 02-02-2012 11:41 PM |
Word page numbers and footers.
|
drenriza | Word | 5 | 01-27-2011 12:47 AM |