- John Vanleeuwe
- PowerBuilder
- Friday, 10 August 2018 12:09 PM UTC
Dear all,
We are making some changes to a function we created. This function will take any datawindow , and with the saveasformattedtext function we can convert this datawindow into a temp excel file.
then we are using ole automation to select all the records available in our temp excel file and we paste this on another excel file , more specifically on a certain sheet , lets say sheet 3
At the moment all of this works just fine & flawless...
The change we want to make today is the following.
At the moment the data copied from clipboard to the excel file and sheet 3 is being pasted in/at starting cell A1 ( left top corner).
We now would like to extend our function and start pasting in our excel file let's say for instance from cell A8.
How can we accomplish this please ?
I have tried to make it work by setting the range to A5 , but this doesn't do the trick. Is what i am asking feasible or is the excel sheet Paste function always pasting its information starting in cell A1 and we are simply not able to define the "insertion point" of the paste function ?
TIA
John
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.