See if Re: Is A File Aready Open? Message #710755 will work for you.
> >Just want to know what will be the code to use when I open an Excel file from within Foxpro if the file is in used by other user on the LAN I want to see from within the Foxpro who has opened the Excel file and will not proceed to open it if somebody is using the said file. > >Thanks in advance. > >Ed