Hi,
Could someone help me to find out what is wrong in the below code ?
It is supposed to return the name of the current file in cell I1 but it doen't work.
Many thanks in advance,
Greg
VarFileName = ActiveDocument.Name
Sheets("Sheet1").Select
Range("I1").Value = VarFileName
Bookmarks