Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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