![]() ![]() Make your anchor link text the same as the words in the headings they link to. Dividing the links with a pipe (this symbol: ) is a good way to make your links look like an index. Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Use the SharePoint anchor links at the top of the page, directly below the page heading, as an index or table of contents. ActiveDocument.Shapes(1).Anchor.Paragraphs(1).Range.Select ![]() This example selects the paragraph that the first shape in the active document is anchored to. If the LockAnchor property for the shape is set to True, you cannot drag the anchor from its position on the page. The shape will always remain on the same page as its anchor. Click that icon to access several layout options. Select a shape, and Word displays the Layout Options icon shown in Figure B. If you don't specify the anchoring range, the anchoring range is selected automatically and the shape is positioned relative to the top and left edges of the page. The solutionan anchor The solution is simpler than you might think. If you specify the anchoring range when you create a shape, the anchor is positioned at the beginning of the first paragraph that contains the anchoring range. RemarksĪll Shape objects are anchored to a range of text but can be positioned anywhere on the page that contains the anchor. SyntaxĮxpression A variable that represents a Shape object. Returns a Range object that represents the anchoring range for the specified shape or shape range.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |