Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
is there any chance to get the path of the active document without the Name in a vb-macro?
Found the ActiveDocument.GetPathName object, but i'd need something like ActiveDocument.GetPath.
Thanks in advannce
Sebastian
Hi Sebastian,
this is directly not available. You can in your solution replace the file-name with string-functions or use a variable like this: (QvWorkPath is a system-variable)
sub x
dim xy
set xy = ActiveDocument.Variables("QvWorkPath").GetContent
msgbox xy.String
end sub
- Marcus