CALL ui.Interface.FrontCall("standard","cbclear","",result)LET sb = base.StringBuffer.create()FOR i = 1 TO number_of_rows FOR j = 1 TO number_of_columns CALL sb.append(value(i,j)) # append the cell value CALL sb.append(ASCII(9)) # append the Tab column delimiter END FOR CALL sb.append(ASCII(10)) # append the LF row delimiterEND FORCALL ui.Interface.FrontCall("standard","cbadd",sb.toString(),result) #and then call the WinCom method to select where you want to pasteCALL ui.interface.frontcall("WinCOM", "CallMethod", [xlapp, 'Range("?:?").Select'], [xlwb]) # and then call the WinCom method to paste