Hi there,
What's the best way to get/send data from a text file to/from an Open Office Calc spreadsheet? I want something like XLGetCell XLSetCell, but those are Excel-specific. At the moment, I'm using clipboard copy-paste, but presumbably that's a slow and potentially inaccurate method.
Many thanks,
Graham.
Best way to get/send data to Open Office Calc
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Best way to get/send data to Open Office Calc
Probably the way you are doing it, or sending the text (keyboard automation). There are no XL command equivalents for OpenOffice apps.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Best way to get/send data to Open Office Calc
I don't have Open Office to test but there is a connection string for it on Connectionstrings.com so maybe you could use ODBC.
Re: Best way to get/send data to Open Office Calc
Thanks for your help. In the end, I've gone for this method..
ReadFile>newfilename,newfiledata
SetFocus>OpenOffice.org Calc*
Send>newfiledata
I was pleasantly surprised that with a vertical list of numbers in the file "newfilename", Send> puts these values into the Calc spreadsheet as separate rows of data. Just what I wanted!
Thanks again,
G.
ReadFile>newfilename,newfiledata
SetFocus>OpenOffice.org Calc*
Send>newfiledata
I was pleasantly surprised that with a vertical list of numbers in the file "newfilename", Send> puts these values into the Calc spreadsheet as separate rows of data. Just what I wanted!
Thanks again,
G.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Best way to get/send data to Open Office Calc
Excellent 

Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?