Thread: Modify feilds
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default Modify feilds

Hi Waynel

WAYNEL wrote:
How can I mondify the FileName feild so that it just gives me the
filename without the extention, with sa Left(FileName,8).


In short: you don't.

You can change the way Windows itself displays filenames (w/o the
extension), but this is generally not a good idea.

But there's no field switch doing what you ask for (and God knows we've
asked for such things repeatedly :-)).

You could programmatically (on saving?) insert the filename into a
Document variable or property and reference this instead.

HTH
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word