I use the clipboard for a import of ordernumbers to excel. i use this code to copy all the numbers (the whole column):
.findById("wnd[0]/usr/cntlALV_CONTAINER/shellcont/shell").selectColumn "AUFNR" .findById("wnd[0]/usr/cntlALV_CONTAINER/shellcont/shell").contextMenu .findById("wnd[0]/usr/cntlALV_CONTAINER/shellcont/shell").selectContextMenuItemByPosition "0"
Usually it works, but: Only the first 98 Numbers are transfered. Overall about 300 Numbers should be transfered, but they arent.
When i do this step by hand, it works sometimes, sometimes not. i have no idea why. the numbers are only 7 digit, so i dont think my memory is too small
i paste the numbers with this code:
Range("A3").PasteSpecial skipblanks:=True
someone got a solution?