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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Export issue

i have created a macro to export chart image into excel in VB script.

it is working when i am using it by opening application in qlikview.

but when i try it on access point using IE plug  In , it is showing error ''unable to get insert picture class''

there is no issue in code as it is working right in qlikview .


Please let me know any one have same issue  and how to resolve it.


I am using Qv 11SR2.



Thanks...

5 Replies
Anonymous
Not applicable
Author

In most cases the macros that work in Desktop works also in IE Plugin.  Make sure that QVS settings allow "unsafe macro", and that the end user allows all macros as well.

Regards,
Michael

Not applicable
Author

already allow unsafe macro as well as all macro..

even other macros are working fine

i am getting error for insert image'unable to insert picture class property'

even working fine from qlikview desktop

but not from access point

Set p = objExcel.ActiveSheet.Pictures.Insert(strPath&"\"&imgname&"_"&strFileDate)

i am using above logic and passing path, image name,strfile field.

any other suggestion ....?

Anonymous
Not applicable
Author

It doesn't look as a QlikView issue.  Sometning in the environment, that I can't tell.  Different Excel version on Server?

Try to open a support case with QlikTech, or maybe with Microsoft.

Regards,
Michael

Not applicable
Author


might be invoirnment issue but Qlikview have somthing to fix it.

even i tried to record macro in excel 2007 but not recording any thing for insert picture for other boject its recoding.

in excel 2010 i can record the macro. all i want to know how can i use Insert picture in excel 2007

is there any other key word or it is a bug?

Anonymous
Not applicable
Author

I just googled it a little.  Appears that Excel 2007 behaves differently than 2010 or 2003.  I'm not saying if it is a bug, but it may be...