Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ActiveDocument.GetPath in vb-macro

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

1 Reply
marcus_sommer

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