Quote:
Originally Posted by ubns
How can we reference a heading without a bookmark?
|
By doing in code the same as you'd do manually via Insert|Cross-Reference>Heading.
If you can identify the heading to bookmark it, so that you can cross-reference the bookmark, you can just as easily identify it for cross-referencing without the bookmark.
Quote:
With regards to the the code I am talking about (for the page break) see the code below (which was provided by you). I was wondering if we can delete the existing footer of newly inserted document and link it to the previous footer?
|
After:
.Range.InsertFile ...
Insert:
Code:
For Each HdFt In Scn.Footers
.Range.Text = vbNullString
HdFt.LinkToPrevious = True
Next