donhannam
asked on
In Access vba detect whether an excel file is open
I want to read/update information off an excel spreadsheet but don't want to do this while someone has it open. You cannot delete a file when someone has it open so system must record somewhere? - is there a way of finding out if a file is opened by someone - this file will be on a network drive. I looked on the FileSystemObject but could not see anything obvious to tell me.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Graham works perfectly
danishani: Think the links you had effectively do the same thing but prefered the one Graham provided.
danishani: Think the links you had effectively do the same thing but prefered the one Graham provided.
http://www.rondebruin.nl/exist.htm
Or this thread:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=468
Hope this helps,
Daniel