How ThisDocument
object refers to the docm file contents, which containing the code?
I had insert a module under the *.docm project which contains this code:
Sub test()
Debug.Print ThisDocument.Name
End Sub
Returns Normal.dotm
as result.
But it is expected returning the current docm file's name.
How can set 'Thisdocument' Object subroutines refers to the current docm
file?
Any help would be greatly appreciated.