Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

VBA code to activate qlikview sheet

Hi,

I need VBA Code to activate qlikview sheet in Excel VBA.

Thanks in advance.

1 Solution

Accepted Solutions
udaya_kumar
Specialist
Specialist
Author

Hi,

I used the following code and it is working now

Sub Test()

 

Set App = CreateObject("QlikTech.QlikView")

 

Set Doc =
App.OpenDoc("D:\SAN\Application\Private\Test1.qvw", "","")

Doc.Activate

Doc.ActivateSheet "SH01"

End Sub

View solution in original post

5 Replies
Siva_Sankar
Master II
Master II

Without macro, you can achieve this. To activate qlikview sheet, click on actions tab on the object(button,text box object),select layout activate sheet, in the sheet id, mention the sheet id to activate it. Regards. Siva

paulyeo11
Master
Master

Hi sir

i don't quite understand what you said , can you a little bit more. As i also have the same requirement.

paul

udaya_kumar
Specialist
Specialist
Author

Hi,

I used the following code and it is working now

Sub Test()

 

Set App = CreateObject("QlikTech.QlikView")

 

Set Doc =
App.OpenDoc("D:\SAN\Application\Private\Test1.qvw", "","")

Doc.Activate

Doc.ActivateSheet "SH01"

End Sub

paulyeo11
Master
Master

Hi Kumar

Thank you for your reply.

so VBA = micro ?

Not applicable

If I will want to activate a object using VBA macro... How you do this??

Thanks!!!