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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hi,

Hi,

Any idea why my macro to export a chart to excel was working when my Excel was in 2010 but now that I have 2013 in the server,

the macro is only generating 1 line of data in my chart.

My macro is as follows :-

sub Cab()

set Chart = ActiveDocument.GetSheetObject( "CH01" )

"C:\DailyReports\CAB\CAB.xls",5

end sub

Labels (1)
22 Replies
Not applicable
Author

Hi Siva,

I can see there are 200 rows in the chart and when I send to Excel, it is showing 200 rows.

Macro export to Excel is only showing 1 row.

Best regards,

Jenny Tan

MIS Manager

Angliss Singapore Pte Ltd

A member of Bidvest Asia Pacific Group

Mobile: 97839001

DID: 6770 4194

Tel: 6778 8787

Fax: 6770 4126

Email address: tan_jenny@angliss.com.sg<mailto:tan_jenny@angliss.com.sg>

Website: www.angliss.com.sg<http://www.angliss.com.sg/>

<http://www.angliss.asia/>

Siva_Sankar
Master II
Master II


Your script is working fine. You configured the macro in trigger for ' on post reload'?

Siva_Sankar
Master II
Master II

find the attached application.

Not applicable
Author

Yes, I did trigger macro on reload.

Best regards,

Jenny Tan

MIS Manager

Angliss Singapore Pte Ltd

A member of Bidvest Asia Pacific Group

Mobile: 97839001

DID: 6770 4194

Tel: 6778 8787

Fax: 6770 4126

Email address: tan_jenny@angliss.com.sg<mailto:tan_jenny@angliss.com.sg>

Website: www.angliss.com.sg<http://www.angliss.com.sg/>

<http://www.angliss.asia/>

Not applicable
Author

May I know where is the application?

Best regards,

Jenny Tan

MIS Manager

Angliss Singapore Pte Ltd

A member of Bidvest Asia Pacific Group

Mobile: 97839001

DID: 6770 4194

Tel: 6778 8787

Fax: 6770 4126

Email address: tan_jenny@angliss.com.sg<mailto:tan_jenny@angliss.com.sg>

Website: www.angliss.com.sg<http://www.angliss.com.sg/>

<http://www.angliss.asia/>

Siva_Sankar
Master II
Master II

Attached. Are you checking via mobile?

Siva_Sankar
Master II
Master II

Attached. Are you viewing thru mobile?

Not applicable
Author

Hi Siva,

Thanks. I got the attachment. Tested it but on reload, it does not pop up the message and also does not export the file into the said path. When I test the macro without reloading, it is popping up the message ‘done’ but no export to file path is done.

Best regards,

Jenny Tan

MIS Manager

Angliss Singapore Pte Ltd

A member of Bidvest Asia Pacific Group

Mobile: 97839001

DID: 6770 4194

Tel: 6778 8787

Fax: 6770 4126

Email address: tan_jenny@angliss.com.sg<mailto:tan_jenny@angliss.com.sg>

Website: www.angliss.com.sg<http://www.angliss.com.sg/>

<http://www.angliss.asia/>

Siva_Sankar
Master II
Master II

Find the attachment. I have changed the code to create a excel and export the chart(previously it just copied the data in existing file). Forget the about the message, i just used for debugging. i removed it.

Not applicable
Author

Hi Siva,

Your application works but when I copied the macro into my application, it hits error on the clear all and when I commented the clear all, it encounters error on the next statement.

Please see attachment.

Best regards,

Jenny Tan

MIS Manager

Angliss Singapore Pte Ltd

A member of Bidvest Asia Pacific Group

Mobile: 97839001

DID: 6770 4194

Tel: 6778 8787

Fax: 6770 4126

Email address: tan_jenny@angliss.com.sg<mailto:tan_jenny@angliss.com.sg>

Website: www.angliss.com.sg<http://www.angliss.com.sg/>

<http://www.angliss.asia/>