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

Macro export excel PasteSpecial

Hello

I'm trying to use a macro to export a table into an axcel template. If i use PasteSpecial respects the style (what i'm looking for)  but transforms the numbers into text, and if i use only Paste did not respect the style in excel. I've tried to use this

xlApp.Activesheet.PasteSpecial (Format:="HTML" , NoHTMLFormatting:= true )

but gives an error "Expected ')'". I'm not used with VB. Any Idea?

Thanks in advance

Pablo

0 Replies