Extension Property Example

This statement returns the extension of the home page.

myHomePageExt = ActiveWeb.RootFolder.File(0).Extension