Dne 24.2.2020 v 23:24 roger tremblay napsal(a):
I have a program which calls in excel (excel 2010) and it works well
however with the advent of Excel 365 I can not make the call and get it
to work below is the sample code used and it does work on 2010. Any
help would be appreciated.
thank you in advance
Roger
LOCAL loExcel
loExcel = CREATEOBJECT("EXCEL.APPLICATION")
loExcel.workbooks.open("C:\dev\BARNS\CLIP\BARCODE.xls")
loExcel.visible = .t.
I think Excel365 has not COM interface.
--
Jan Bucek
Kohoutov 106
544 01 Dvůr Králové n. L.
499 392 412
604 317 282
www.bucek.info
--- StripMime Report -- processed MIME parts ---
multipart/signed
text/plain (text body -- kept)
application/pkcs7-signature
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.