Use document's name as variable in a macro

D

DavidRocastle

Hello

I am just wondering is it possible to take the a documents name and it as a
variable in a macro?
 
J

Jonathan West

DavidRocastle said:
Hello

I am just wondering is it possible to take the a documents name and it as
a
variable in a macro?

Yes. The ActiveDocument.Name property returns the name of the document.
 

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