Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
marcorizzo
Contributor III
Contributor III

export script into txt file

Hi everybody.

I've got this need.

I would like to export all the script of my qlikview file into a txt file.

What do you suggest me ?

Thanks

11 Replies
Not applicable

Where we have this:

set docprop =  ActiveDocument.GetProperties

wd = docprop.MyWorkingDirectory

wdEx = wd & "\Scripts\"

We are getting your working directory(Where your QVW is) and going to the folder "Scripts", so you should change that to the folder you want, your simply, create the folder "Scripts".

Oh, and this scripts exports a .qvs, if you want a .txt you can change the following line:

from:

fPath = wdEx & vNameFile &  ".qvs"

to:

fPath = wdEx & vNameFile &  ".txt"

Haven't tested myself (with the .txt extension), but it should work.

marcorizzo
Contributor III
Contributor III
Author

it works.

Thank a lot