Magnus Torell
2017-02-07 09:39:01 UTC
I am using XLS 11 for importing stock level from another system. (Many
Thanks)
I just receive excel files (.xls). It has been working for a year since I
started.
However the files that started to come a week ago will not be read with XLS
II
They open just fine in Excel, but the most simple commands with XLS II seem
to fail?
I just do following to see a difference between old and new files.
Ever since beginning with XLS II I have had to do a trick, and that is to
open and save
the file with excel -Mac excel 2011- on my computer. That seems to have
triggered
something that makes the file recognized by XLS II plugin)
C_TIME($dref)
$dref:=Open document($vName2;"*";Read mode)
If (OK=1)
$filePath:=Document
CLOSE DOCUMENT($dref)
$wb:=XLS Load ($filePath)
$sheet:=1
$cols:=XLS Get total columns ($wb;$sheet)
$rows:=XLS Get total rows ($wb;$sheet)
With the failing files I get no $cols or $rows at all.
Files seems identical to me. What can be the reason?
The supplier have automatic generated xls files and they do not know of any
changes.
What can be the change? Any ideas are appreciated.
Best Regards
Magnus Torell
--
View this message in context: http://4d.1045681.n5.nabble.com/XLS-II-plugin-tp5750156.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
**********************
Thanks)
I just receive excel files (.xls). It has been working for a year since I
started.
However the files that started to come a week ago will not be read with XLS
II
They open just fine in Excel, but the most simple commands with XLS II seem
to fail?
I just do following to see a difference between old and new files.
Ever since beginning with XLS II I have had to do a trick, and that is to
open and save
the file with excel -Mac excel 2011- on my computer. That seems to have
triggered
something that makes the file recognized by XLS II plugin)
C_TIME($dref)
$dref:=Open document($vName2;"*";Read mode)
If (OK=1)
$filePath:=Document
CLOSE DOCUMENT($dref)
$wb:=XLS Load ($filePath)
$sheet:=1
$cols:=XLS Get total columns ($wb;$sheet)
$rows:=XLS Get total rows ($wb;$sheet)
With the failing files I get no $cols or $rows at all.
Files seems identical to me. What can be the reason?
The supplier have automatic generated xls files and they do not know of any
changes.
What can be the change? Any ideas are appreciated.
Best Regards
Magnus Torell
--
View this message in context: http://4d.1045681.n5.nabble.com/XLS-II-plugin-tp5750156.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
**********************