i have 2 requirements but need in separate codes for both requirements
1. i want to extract multiple page name of a document for example i have 50 pages in a document all have different page names and want to extract all page name in the form of paragraph or artistic text in corel
2. create a unique name of 3 alphabet from artistic text or paragraph text for example Parag (PAR), Corel (COR), Question (QUS) etc?
You could try this for getting text from the page names:
Sub text_from_page_names()Dim strText As StringDim p As PageFor Each p In ActiveDocument.PagesstrText = strText & Chr(13) & p.NameNext pActivePage.ActiveLayer.CreateParagraphText ActivePage.LeftX, ActivePage.TopY, ActivePage.RightX, ActivePage.BottomY, strTextEnd Sub