![]() |
#5
|
|||
|
|||
![]()
Thanks for that info. I got most of the styles working in the document (woo-hoo).
However, another problem reared its ugly head. I have 27 fields that repeat throughout 15 pages. I created a table on the first page to input the data. The table uses bookmarks and cross-references to the bookmarks to populate the fields. I used the code discussed above, and again here, to remove the bookmarks so I could delete the input page before saving the final document. Unfortunately, without the bookmarks data seems to be lost when clicking Print. It saves fine. But, it changes to "Error! Reference source not found" when printing. Everything changes to that. Code used: Code:
Sub removebookmarks() Dim bkm As Bookmark For Each bkm In ActiveDocument.Bookmarks bkm.Delete Next bkm End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Bansaw | Word | 4 | 09-01-2016 11:16 AM |
Backing up importing & exporting ?? I am a newb | Jazz | OneNote | 0 | 01-27-2016 10:18 PM |
![]() |
Deeper | Office | 2 | 09-09-2015 01:45 AM |
![]() |
dherr | Excel Programming | 13 | 12-02-2014 08:31 AM |
NEWB to Macros - formatting exports | EC37 | Excel Programming | 52 | 06-25-2014 06:26 AM |