![]() |
#12
|
||||
|
||||
![]()
I am unable to reproduce that error. You can demonstrate that there's nothing wrong with that line by running the following macro in a scratch document:
Code:
Sub Test() Dim wdDocTgt As Document, wdDocSrc As Document Set wdDocSrc = ActiveDocument wdDocSrc.Sections.First.Headers(wdHeaderFooterPrimary).Range.Copy wdDocSrc.Sections.First.Footers(wdHeaderFooterPrimary).Range.PasteAndFormat wdFormatOriginalFormatting End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
macropod |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
amodiammmuneerk@glenmarkp | Word | 12 | 03-05-2018 03:31 AM |
![]() |
PReinie | Word | 6 | 01-22-2014 06:45 PM |
![]() |
MrSnrub | Word | 4 | 06-19-2013 07:32 AM |
![]() |
Oliver Beirne | Word VBA | 2 | 04-24-2012 04:49 AM |
![]() |
mit | Excel | 1 | 06-14-2011 10:15 AM |