From QB64 to XL, an other way could be using _clipboard$ (for one value at time )
For instance: put in sheet "page3", Cell B35 , 500.01
QB 64 programm:
ZZZ$="(page3)B35:500,01":_clipboard$=ZZZ$
In excel in the arrival XLS file: this little programm (example):
Sub onedatafromqb64
Dim objData As New MSForms.DataObject
objData.GetFromClipboard
INFO$= objData.GetText()
if INFO$="" then goto fino
J=instr(INFO$+"x",")"):if J=0 then goto fino
PAGE$=left$(INFO$,J):INFO$=right$(info$,len(info$)-J)
PAGE$=right$(page$,len(page$)-1):page$=left$(page$,len(page$)-1)
j = InStr(info$, ":"): Adr$ = Left$(info$, j - 1): Valu$ = Right$(info$, Len(info$) - j)
Sheets(page$).Select:Range(Adr$).Value = Valu$
fino:
end sub
Excel file and QB64 program must be both opened at the same time, here.