View Single Post
 
Old 05-01-2014, 02:55 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Carchee View Post
The source header is single spaced and has 0 pt before and after lines, however after the the source header is pasted the line spacing is changed to 10 pt after lines. I noticed it does this if I manually copy and paste.
Evidently, then, someone is overriding the Style definitions, with manual formatting. If the Styles were being used properly, that wouldn't be an issue. You could try replacing:
Code:
.Range.FormattedText = _
wdDocSrc.Sections.First.Headers(HdFt.Index).Range.FormattedText
with:
Code:
wdDocSrc.Sections.First.Headers(HdFt.Index).Range.Copy
.Range.PasteAndFormat wdFormatOriginalFormatting
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote