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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Saving Qlikview skript with macro

Hi, i would like to save a Qlikview script automatically (qvs)

by opening the Document and run a macro.....or so.

Is there a chance in the script or in a macro ?

I don't find anything.

Thank's for helping

Tom

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi Tom,

I recently answered that in this post.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

View solution in original post

4 Replies
Miguel_Angel_Baeyens

Hello Tom,

There's actually some API functions to do that in a macro:

Sub SaveDoc

     ActiveDocument.Save

End Sub

You can use this macro in an action in a button or a text object. It will not work when opening the document on server regardless of the client, by design.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

Hallo Miguel,

ActiveDocument.Save works only for the qvw ,isn't it ?

I would like to save only the Qlikview Script in a QVS.

(like start the scripteditor and choose "script save as"

Tom

Miguel_Angel_Baeyens

Hi Tom,

I recently answered that in this post.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

Hi Miguel,

great it works,thank you for your help!

Tom from Austria