#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 791
Default File Locked or Not

Is there a way to have a list of excel files and use some sort of code to
tell if the file is currently in use.

Example:

Column 1 (Excel Path) Column 2 (Availability)
Path\ExcelFileName.xls Currently In Use
Path\ExcelFileName2.xls Available

The reason for this is that I use an Excel Macro to execute an Access Macro
and if the files are in use, my code fails due to the file being "Read-Only."
If I know ahead of time who is using the file, I can proactively call the
individual and then I can simply run the Macro with no issues.

Let me know if you Need anymore details!

Thanks in Advanced!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
disc full, saved to temp. file charlies Excel Discussion (Misc queries) 7 May 18th 06 08:40 PM
file will not open txskyhawk Excel Discussion (Misc queries) 4 April 19th 06 12:35 AM
file is locked does not appear in Excel if file already open by an Leslie New Users to Excel 3 April 10th 06 09:40 PM
Filling Text from Another File lost in charts Excel Worksheet Functions 6 December 2nd 05 07:46 PM
Locked out of default file location Paul Donaldson Excel Discussion (Misc queries) 2 May 25th 05 10:01 PM


All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"