Discussion Locked

How to make different Footers in Word wi

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I try used string code:

With objDoc.ActiveWindow.Selection
.HeaderFooter.LinkToPrevious = False
end With

but Word didn't anything, please help me, how to do it.

2 replies

by rlb

Try objDoc.Section(sectionIndex).Footers(wdHeaderFooterPrimary).LinkToPrevious = False

by lyxx

No, didn't work, I do this:
objWord.CommandBars("Header and Footer").Controls(9).Execute

This discussion is closed to new replies.