View Single Post
 
Old 03-08-2020, 06:15 AM
SamDsouza SamDsouza is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Aug 2019
Posts: 71
SamDsouza is on a distinguished road
Default

Quote:
You could address the footer via code like:
Code:
Code:
Const wdHeaderFooterPrimary As Long = 1
…
With .Sections.First.Footers(wdHeaderFooterPrimary).Range
  'code that populates footer
End With
before the final 'End With'
I tried below
Code:
With .Sections.First.Footers(1).Range
  'code that populates footer
End With
i get error 438 "object doesn't support this property or method

Now what to do ?


SamD
Reply With Quote