[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to ski
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation |
Date: |
Mon, 22 Feb 2021 15:42:49 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #6, bug #60098 (project octave):
FTR, out of curiosity I tried the code in Matlab r2020b:
>> srvr = actxserver('excel.application');
wbks = srvr.workbooks;
pth = fullfile(pwd, 'a.xlsx');
if ~exist(pth, 'file')
wbk = wbks.add;
wbk.activate;
wbk.saveAs( pth );
wbk.close;
end
Check for missing argument or incorrect argument data type in call to function
'add'.
>> wbk = wbks.open( pth, 0, false );
Error using open
Too many input arguments.
... so the code itself doesn't seem completely right.
(Windows 10 & Office 2016, if it matters)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60098>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60098] Package: windows: Unable to skip optional arguments in COM objects, N Kando, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, Markus Mützel, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, John Donoghue, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, John Donoghue, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, John Donoghue, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, N Kando, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, N Kando, 2021/02/22
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, Markus Mützel, 2021/02/23
- [Octave-bug-tracker] [bug #60098] [octave forge] (windows) Unable to skip optional arguments in COM method invocation, N Kando, 2021/02/23