Dao.OpenDatabase gives me error when ...

M

Marek S.

I've problem with DAO.OpenDatabase:

1.
strBaza ="c:\katalog a\e1.xls"
[dir name contains space]

Set db = dbe.OpenDatabase(strBaza, False, False, "Excel 8.0;")

is OK

But when

strBaza ="c:\katalog 01\e1.xls"
[dir name contains space and a number!]

gives me an error :
"Cannot update. Database or object is read-only."


Who knows "why?"
And how to fix up?



MS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top