![]() |
#9
|
|||
|
|||
![]()
Hi, Vivka! Thank you very much for your code variant. Except for "wdGoToPage, PgNum" (which should be "wdGoToPage, Name:=PgNum") it works all right. However, like mine it deletes all the pages of the docx when inserted into a larger (very large) macro.
If I use a Selection version of the code, it works also when inserted into the larger macro. Surely there must be a way to make the Range version work irrespective of the code context! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use a table in appendix to determine content of main document? | MattMurray | Word | 3 | 07-19-2022 09:16 AM |
![]() |
ryanjohnsond@gmail.com | Excel Programming | 34 | 09-03-2014 10:43 PM |
![]() |
Dave Fraser | Excel | 2 | 06-06-2014 11:48 AM |
![]() |
kjworduser | Word VBA | 1 | 11-01-2013 03:03 AM |
![]() |
Learner7 | Excel | 1 | 04-19-2011 02:45 AM |