View Single Post
 
Old 03-21-2016, 02:03 PM
Charles Kenyon Charles Kenyon is offline Windows 8 Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,474
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Even using vba, this would not be a trivial thing.
The display of a filename is through a field.
That field will display the filename as it displays on the user's computer, so if the user does not display extensions in Windows (the default) you get:
This is My Filename

If the user displays extensions, they would see:
This is My Filename.dotx

There is no way, using fields, to parse this.

Using Fields in Microsoft Word
Automated Boilerplate Using Microsoft Word
Reply With Quote