![]() |
|
Technology Computing, programming, science, electronics, telecommunications, etc. |
|
Thread Tools | Display Modes |
![]() |
#1 |
Syndrome of a Down
Join Date: Jun 2001
Location: West Chester
Posts: 1,367
|
Word 2000 stunt driving me nuts
Any Word or WordBasic gurus out there? I've got an issue that's driving me batty.
My document has a table at the top of each page, containing a handful of cells with specific text styles. I've got a macro worked out that allows me to clone a previous page's header table structure: 1) Page break from insertion point 2) Insert a temporary bookmark to mark my place 3) Search up for a particular style, which appears only in my header tables 4) Select and copy the table 5) Jump to the bookmark 6) Paste the table on the new page 7) Tweak one of the text styles in one block, to avoid a minor TOC issue 8) Delete the temporary bookmark. Easy enough. However, here's what I _really_ want a secondary macro to do: 9) Do 1 through 8 to set up a new page. 10) Set up a bookmark at the page title position. 11) Change the style for that position from Page Title to Page Title Continued (same formatting, just making a style distinction). 12) Search up for the closest Page Title text and copy it. 13) Create a FIELD at the insertion position containing the previous Page Title text. 14) Throw ", page continued" after it on the new page. So that I end up with something like: Page 1: Title blah blah. Page 2: [Title blah blah], page continued. Page 3: [Title blah blah], page continued. Page 4: A new title. Page 5: [A new title], continued. where I can update Page 1, 4, etc. and refresh the document to autoupdate the dependent fields. The stopper is Step 13. Anyone got a hint as to how I'd manage that? |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|