by aviben » Wed Jul 04, 2007 9:20 pm
Hi Loic,
I feel quite embarrased to continue bother you with my very specific problem, so try to be patient.
Now with the latest version, the folowing commands work
oWB.Application.Worksheets(wCurrChartSht).Range(addrange).CopyPicture Appearance:=xlScreen, Format:=xlPicture
oGdPicture.CreateImageFromClipboard
oGdPicture.CopyToClipboard
The problem is that the resulting image created with oGdPicture.CreateImageFromClipboard is not the same as when i perform a paste direcly from Windows. I usually get a larger picture, cropped at one side and with a noisy text. As i told the problem happens at the oGdPicture.CreateImageFromClipboard stage
I have tried the to oGdPicture.ConvertToXXBpp , but it does not help
The problem happens when the copied object in Excel is a table and not when it is a chart
Thanks a lot
Avi