![]() |
#1
|
|||
|
|||
![]()
Hello,
These are the requirements for my macro: 1. Save the current document in the same folder with the same document name, except it will end in .pdf. 2. The "create bookmarks from headers" option is enabled. 3. It will prompt me if there is a file with the current name already. I have this code, which accomplishes 1 and 3, but how would I add to it so that "create bookmarks from headers" is always enabled: Code:
Sub Save_to_PDF() With Dialogs(wdDialogFileSaveAs) .Format = wdFormatPDF .Show End With End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bookmarks | Schildkröte | Word VBA | 8 | 06-28-2015 11:13 AM |
![]() |
PeterPlys | Word VBA | 13 | 01-14-2015 06:41 AM |
Can't See Bookmarks | bobmayo | Word | 21 | 06-04-2013 07:37 AM |
![]() |
samanthab | Word | 3 | 01-19-2013 06:27 AM |
![]() |
Dom37 | Word VBA | 2 | 10-31-2011 03:28 AM |