Strange Behaviour?

Hi, in a field, called docu, I have stored the name of an EXCEL-Sheet, let’s say: order info.xls. When I start EXCEL from within Navision (Shell) I get the error-message when EXCEL opens: Excel could not find order.xls and a second message: … could not find info.xls. With strlen I get returned 5 and not 14, as I have expected? Is this right and how can I force NAVISION to pass the whole name to EXCEL? Michael

Hi Michael, try it this way, with the interior quotes the file gets opened correctly: Shell(‘c:\office2000\excel.exe’,’“D:\order info.xls”’); an easier way nevertheless is to use HYPERLINK, because you don’t need to indicate where excel is stored… HYPERLINK(‘D:\order info.xls’); Saludos Nils

Hi Nils, igracias!, it works well. Michael