Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

LinkBack Thread Tools Display Modes
Old 10-29-2018, 07:11 AM
eduzs eduzs is offline Windows 10 Office 2010 32bit
Competent Performer
Join Date: May 2017
Posts: 145
eduzs is on a distinguished road
Default Save a section as individual document.

Hi all,
I need a vba code to save a specific section of a word document to a individual document.
Any ideas how to do this?
Backup your original file before doing any modification, test in a throwaway copy of your file.
Reply With Quote
Old 10-29-2018, 07:35 AM
gmaxey gmaxey is offline Windows 7 32bit Office 2016
Word MVP 2003-2009
Join Date: May 2010
Location: Marble, NC
Posts: 857
gmaxey will become famous soon enoughgmaxey will become famous soon enough

You start with something like:

Sub ThisIsWhatIWantToDo()

End Sub

... put the required steps between. This is not a code writing service. Basically your steps will include add a new document and set the range of that document equal to the range of the source section. If your documents have headers and footers it would take more steps. There are plenty of examples in this and other forums.
Greg Maxey
Please visit my web site at
Reply With Quote

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility of 2 macros in mail merge: Delete table rows + save individual PDFs Btop Word VBA 26 03-07-2018 01:45 PM
VBA code to save to individual files and skipif function beefcake2000 Mail Merge 2 12-05-2017 03:19 AM
Help debugging a Macro that merges individual word docs into one document vincenzo345 Word VBA 4 12-01-2017 11:25 AM
Save mailmerge records as individual word files using VBA beefcake2000 Word VBA 3 11-10-2017 09:55 PM
Macro to export document sections to individual txt files? MJMR999 Excel Programming 0 02-18-2010 12:49 PM

All times are GMT -7. The time now is 12:00 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft