![]() |
#1
|
|||
|
|||
![]()
Hello All!
I've got a lengthy document and I need to create individual documents for each of the headings I have to a new file. It's laid out like this: Code:
FirstTitleInHeading3Style FirstTopicTextInNormalStyle SecondTitleInHeading3Style SecondTopicTextInNormalStyle Code:
FirstTitleInHeading3Style FirstTopicTextInNormalStyle Code:
SecondTitleInHeading3Style SecondTopicTextInNormalStyle Any help would be greatly appreciated. Thanks! -stu Last edited by stusic; 01-03-2025 at 03:09 PM. Reason: typo |
#2
|
||||
|
||||
![]()
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]() Quote:
That's perfect! I don't know how I didn't find that in my search, but thanks again! |
#4
|
|||
|
|||
![]()
One question I ran into, but didn't want to resurrect a dead thread: What if I don't have any bookmarks in my doc? I get an error when I get to this:
Code:
Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\HeadingLeve3") Code:
Set Rng = Rng.GoTo(What:=wdGoHeading, Name:="\HeadingLeve3") |
#5
|
|||
|
|||
![]() Quote:
Code:
Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\HeadingLevel") |
#6
|
|||
|
|||
![]() Quote:
Oh wow, a typo. I read it as "HeadingLevel1" and still messed it up, lol. Thanks, I appreciate it. |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stop styles from being copy pasted along with text | Word_fail | Word | 4 | 07-10-2017 05:50 AM |
Style for Text Changes from Normal to Heading 1 when Copy-Pasted | Basia | Word | 8 | 08-15-2015 02:32 PM |
![]() |
othromas | Word | 9 | 11-13-2013 03:10 PM |
![]() |
Hallet | Word | 1 | 05-31-2012 02:37 PM |
Copy + Paste from Word to Word WITHOUT heading styles | altjx | Word | 4 | 04-18-2012 12:36 AM |