LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.win2000.security,microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default VBA Authorization in Win2k

I'm using Windows 2000 and Office 2000. In Excel I'm using VBA code to
get data from an Access database (DOA OpenDatabase). As long as the
drive is an Administrative drive and I log on as an Administrator it
works fine. But if I log on as anything other than an Administrator I
get an error (3051 I believe) stating the MS Jet database engine
cannot open the file because it's already opened exclusively or I
don't have permission to access it. I know it's not already open.

Also if I sign on as an Administrator and make the drive
non-Administrative I get the same error. The only time it works is
when both the drive and the user are Administrative.

Just to make sure it wasn't a share problem I set Everyone to Full
Control but still have the same problem. It seems that when I access a
file through VBA, Windows thinks it's an unauthorized user trying to
access the file.

I need to have other users be able to do this and I really don't want
to make them all Administrators! Does anyone know how to correct this
situation?

I don't know if it matters or not, but the drive is FAT32 rather than
NTFS.

Thanks in advance for any help.
 
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
Read- only Protect Folders and contents in WIN2K Server Tommydraw123 Excel Discussion (Misc queries) 3 October 31st 06 07:31 PM
Problem reinstallation MS Ofiice on new PC. Authorization Issue Reinstallation User Setting up and Configuration of Excel 1 July 16th 05 04:34 AM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM
Using Round function on French and US Win2k Pallavi Singh Excel Programming 1 February 11th 04 05:23 PM
XL97/Win2K - lookup and return listing Tim R[_2_] Excel Programming 0 November 19th 03 07:06 PM


All times are GMT +1. The time now is 12:05 AM.

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

About Us

"It's about Microsoft Excel"