Thanks a lot for the input, will probably use some of this in the future when I aim for a fully automated script.<br><br>I found my mainproblem now however, due to some formatting error every cell in the excel sheet started with a ' .<br>

After I removed that everything worked just fine :)<br><br><div class="gmail_quote">On Fri, Nov 18, 2011 at 2:47 PM, Samuel Gougeon <span dir="ltr"><<a href="mailto:sgougeon@free.fr">sgougeon@free.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The whole example, with some slight improvements:<br>
<br>
[fd, SST, Sheetnames, Sheetpos] = xls_open('file.xls');<br>
[Value, trash] = xls_read(fd,Sheetpos);<br>
mclose(fd);<br>
d = getdate((Value(4:$,1)-25569)*<u></u>24*3600);<br>
d(:,9) = round(d(:,9)+d(:,10)/1000);<div class="im"><br>
d = d(:,[6 2 1 7 8 9]);<br></div>
datesText = msprintf("%02i/%02i/%04i %02i:%02i:%02i\n",d(:,:));<br>
<br>
-->datesText<br>
 datesText  =<br>
<br>
!21/11/2010 20:43:00  !<br>
!                     !<br>
!21/11/2010 20:43:10  !<br>
!                     !<br>
!21/11/2010 20:43:20  !<br>
!                     !<br>
!21/11/2010 20:43:30  !<br>
!                     !<br>
!21/11/2010 20:43:40  !<br>
!                     !<br>
!21/11/2010 20:43:50  !<br>
!                     !<br>
<br>
...<br><font color="#888888">
<br>
Samuel<br>
<br>
</font></blockquote></div><br>