#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Issue

I have a password on an access .mdb file. In Excel, if I issue the following
command, I am getting an error:

cn.Open "Provider=Microsoft.Jet.OLEDB.4.0; " & "Data Source=" & DataSource &
"; " & "UserID=admin; Password=MyPW44"

Before I put a password on the file, I left off the entire last of the line
from the Semi-Colon before the word UserID. It worked fine. Now I have a
password. I get this error: Cannot start your application. The workgroup
information file is missing or opened exclusively by another user. Ideas?
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
Msg Box VBA Issue CJLuke Excel Programming 8 January 26th 07 06:48 PM
Value Issue ankur Excel Programming 2 December 11th 06 11:16 AM
Yet another issue VegasBurger Excel Worksheet Functions 5 June 14th 06 10:22 PM
Sub name issue Robert Hargreaves[_2_] Excel Programming 6 June 6th 05 04:47 PM
xla add in issue PM Excel Programming 5 October 6th 04 07:12 AM


All times are GMT +1. The time now is 08:54 AM.

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"