Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
agni_gold
Specialist III
Specialist III

Start with Macro writing in QlikView Scripting

hi ,

Please tell me how to start writing Macros in qlikview scripting.

and where to write these and how to call these in script.

Thanks

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Here is the link to download the API Guide.

     http://community.qlik.com/docs/DOC-2640

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
kaushalview
Partner - Creator II
Partner - Creator II

Hi,

U can write Macro in  Tool--->>Edit Module or use Ctrl + M.

Regards

Kaushal Mehta

agni_gold
Specialist III
Specialist III
Author

After this what to do please  send me some simple example to understand.

Thanks.

rustyfishbones
Master II
Master II

Press CTRL +M to go into the Module

Add below

Sub HideTabRow

Set DocProp = ActiveDocument.GetProperties

DocProp.ShowTabRow=false

ActiveDocument.SetProperties DocProp

End Sub

Sub ShowTabRow

Set DocProp = ActiveDocument.GetProperties

DocProp.ShowTabRow=True

ActiveDocument.SetProperties DocProp

End Sub

You can then call these macro's by adding actions to buttons or text objects

The above allow you to show or hide the tab row

Hope that helps

MayilVahanan

Hi

PFA

Example to export tablebox using macro

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Bill_Britt
Former Employee
Former Employee

Need to make sure that the macros you are building will work with the Client that the users will be using. Most work great with the plugin but not with AJAX.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.