Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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