File Extension

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

File Extension


Editor-Icon File Extension



The File Extension macro inserts the file extension of the current file.


The syntax for this macro is %[FileExt]




Follow the steps below to use the File Extension macro to insert the file extension of the current file when adding a header to documents:


1. Click Document in the Menu Toolbar.


2. Hover over Header and Footer, and the click Add. The Add Header and Footer dialog box will open.


3. Enter %[FileExt] in one of the header/footer text boxes. The file extension of the file is then inserted as a header:



Figure 1. %[FileExt] Macro Example