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: 
pkelly
Specialist
Specialist

Copy to ClipBoard - Excel Format

Hi all...

To get past an issue with MS Excel number formats, I am exporting to MS using the following macro...

Set chart = ActiveDocument.GetSheetObject("CH600")

' Copy Chart to Clipboard

chart.CopyTableToClipboard true

' Open Microsoft Excel and Add Worksheet

Set XLApp = CreateObject("Excel.Application")

XLApp.Visible = True

Set XLDoc = XLApp.Workbooks.Add

Set XLSheet = XLDoc.Worksheets(1)

XLSheet.Paste XLSheet.Range("A1")

Set Selection = XLSheet.Cells

With Selection

.Borders.ColorIndex = 0

End With

XlSheet.Range("A1").Select

This almost works for me.

The issue I have is that , my GM% column displays in QlikView as a % to 1 dp but in Excel it outputs as % to 2 dp with the second dp = 0.

Anyone came accross this / have any suggestion on fixing?

Regards

Paul

2 Replies
pkelly
Specialist
Specialist
Author

Any help on this?

pkelly
Specialist
Specialist
Author

Anyone....?