2 macro help required!! 1. extract page name & 2. create a unique name of text

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?