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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Makro: Get Excel-File via Dialog window

Hi Community,

I got a problem, i want to choose an excel file via Dialog window.
Unfortunately QlikView shows this window in the background.
So when I run the makro in a maximize QlikView-Application, I won't be able to pic a file.

My code

   set cd = CreateObject("Excel.Application")
varData=cd.GetOpenFilename("Excel-Files (*.xls; *.xlsx; *.xlsm), (*.xls; *.xlsx; *.xlsm,,"Select file",True)

Many thanks in advance .

Makro_Fenster.png

Best regards
Daniel

Labels (1)
1 Reply
marcus_sommer
MVP
MVP

You could try it with:

set cd = CreateObject("Excel.Application")

cd.visible = true

varData=cd.GetOpenFilename("Excel-Files (*.xls; *.xlsx; *.xlsm), (*.xls; *.xlsx; *.xlsm,,"Select file",True)

- Marcus