Macro doesn't display name and filepath Word2K

B

Bomber

Hi all,

if I choose Insert|...AutoText...|Filename and Path from the menu's it works
fine.

If I record a macro to do the same and then try and run the macro, the
actual filename and path does not appear.

If I do an Alt-F9 I can see that the field is there, i.e. { FILENAME \p }

Does anyone know why the text seems invisible ?

cheers,

Adam
 
J

Jay Freedman

Try making the macro update the field. If it's in the text body,
ActiveDocument.Fields.Update will do it. If it's in a footer, it's a
little more complicated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top