View Single Post
 
Old 09-24-2009, 09:12 AM
Ulodesk Ulodesk is offline Windows 10 Office 2021
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default File name adn autotext

I'm glad that works for you.

In fact, it is doing the same thing, but inserting a field through specified shortcuts in menus. When I follow in Word 2007 the autotext route you specified, the field I get is

{ FILENAME \* MERGEFORMAT }

(You would see three spaces after FILENAME.)

This returns only the file name, not the path, which is what the \p in your post is for.

Cheers.
Reply With Quote