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

Thanks Andrew Lockton(Guessed) for the reply

I get Error as Arguement Not Optional
rngFoot.End =

and then i used the following too
rngFoot.End(xltoRight)
Nothing worked

Also tried below but nothing worked
Code:
Dim rngFoot As Range
Set rngFoot = wdDoc.Sections(1).footers(wdHeaderFooterPrimary).Range.Paragraphs(1).Range   
With rngFoot
  .Collapse Direction:=0
  .End(xlToRight) = .Start + 10
  .Font.Bold = True
 End With
SamD
Reply With Quote