Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-11-2019, 06:58 AM
timf timf is offline How to print bookmarks in a document to separate .pdf file Windows 10 How to print bookmarks in a document to separate .pdf file Office 2019
Novice
How to print bookmarks in a document to separate .pdf file
 
Join Date: Oct 2019
Posts: 7
timf is on a distinguished road
Default How to print bookmarks in a document to separate .pdf file

I'm new to using VBA (and coding) and I'm not even sure this is possible but here's what I have and what I'm trying to do.

I have a large word doc that contains different sections. Each section was a separate file that has been inserted into this document. I've turned each section into a bookmark and attached the bookmark to a checkbox. This way someone can uncheck a box if they don't want that section included in the document. The checkboxes work using a hidden font command. This whole setup is much easier because some sections need edited by the user and with everything in one place it goes faster.

So what I need to do is be able to print to pdf each included bookmark as a file in a specific folder. For instance, when I click print, I need the bookmark "Section 1" to print to pdf, call itself "Section 1", and go to a folder called "All Sections for this Project". I also need the unchecked sections to NOT print but I think I could do that using an if then command. Please let me know if that is clear or if I need to explain more.

If someone could let me know if this is possible and help out a bit that'd be great!
Reply With Quote
 

Tags
print command, vba code

Thread Tools
Display Modes


Similar Threads
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
How to print bookmarks in a document to separate .pdf file Tweak Macro to Save Each Page of Word Document as Separate PDF or Doc File? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft