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.
|