Page 1 of 1

[Solved] Calling Calc from a Basic program

Posted: Sun Dec 02, 2018 2:58 pm
by drcox041559
I want to call CALC from a BASIC program, which works, but I need the command line parameter to load a specific spreadsheet.

Example:

"C:\Program Files (x86)\OpenOffice 4\program\scalc.exe"

starts the application with a new spreadsheet but how do I specify an existing spreadsheet in the call?

The call would be outside.of OOP from a FreeBASIC *.exe program. Therefore an external IDE.

Re: Calling CALC from a BASIC program

Posted: Sun Dec 02, 2018 3:53 pm
by merlijn
"C:\Program Files (x86)\OpenOffice 4\program\scalc.exe" "c:\path_to_your_spreadsheet\spreadsheet.ods"

Re: Calling CALC from a BASIC program

Posted: Sun Dec 02, 2018 5:15 pm
by Zizi64
I want to call CALC from a BASIC program, which works, but I need the command line parameter to load a specific spreadsheet.
Do you mean the StarBasic inside the AOO, or your Basic IDE is located outside the AOO (VB, VBA or other)?

Re: Calling CALC from a BASIC program

Posted: Thu Dec 06, 2018 9:18 pm
by drcox041559
Thanks Loads