![]() |
#5
|
|||
|
|||
![]()
gmayor, I'm sorry I wasn't able to get back to you sooner. I have recently started this project back up and I was able to make it work. I had a few errors in my bookmarks. Thank you!
I'm messing around with this a little more and I'm wondering, can I name the PDF by one of the headers within the bookmark? My understand of the code is that it: 1. Creates a path. 2. Looks for a bookmark that does not have hidden text. 3. Creates that bookmark into a PDF and names it. 4. Repeats until all non-hidden text bookmarks found. I'm thinking that if I wanted to name the file by using a heading style I'd have to plug it in within step 3. More specifically, replace oBM.Name with something that refers to a heading style .Name. However, I can't figure out what that language would be. I've tried Headerstyle and Styles but I haven't gotten it to work. Any push in the right direction would be greatly appreciated! |
Tags |
print command, vba code |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word document with VBA and Form Fields reset when select File,Print | fatal.lordes | Word VBA | 9 | 04-27-2018 11:30 PM |
Hyperlinking to Bookmarks in a separate Word document | Cat Perry | Word | 7 | 03-23-2018 04:39 PM |
![]() |
Hewg74 | Word VBA | 3 | 08-22-2016 05:20 PM |
Any easy way to separate a Word document into separate files? | SamHelm | Word | 0 | 08-21-2010 05:29 AM |
print file is 14MB when document is only 850kb | pompeydave | PowerPoint | 0 | 06-01-2009 05:58 PM |