ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
07-26-2006 06:58 AM
07-26-2006 07:17 AM
Have you tried to pass to the function the filename only? It could open it assuming it is in the program directory.
Otherwise you can use GetProjectDir to obtain your executable pathname, then pass it to MakePathName together with your filename to build the pathname of your excel file.