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