LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open Access DB in Excel 2007

I have an Excel spreadsheet originally developed in Excel 2000, in which
users enter data in their own workstation and click a button to transfer the
data to a centralized database. It works perfectly in Excel 2003, but have
problems in Excel 2007. I got a run-time error saying that method
'OpenCurrentdatabase' of object '_Application' failed.

It works if I moved the database to my local hard drive, but not in the
network folder. We have a peer-to-peer network with a computer designated as
a database server, running MS Windows 98 SE without MS Office. The folder
MASTER-DB is in full access with no password.

Dim appAccess As Variant
Dim dbCurrent As Variant

Set appAccess = CreateObject("Access.Application")
appAccess.Opencurrentdatabase "\\COMP 45 - NET S\MASTER-DB\Master.mdb"

Set dbCurrent = appAccess.CurrentDb
....

Any help would be greatly appreciated!!

Thanks,
Sarah
 
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
"access denied" message when open Excel, MS 2007 piciu Excel Discussion (Misc queries) 1 February 12th 09 01:32 AM
how can I access favorites in the Excel 2007 Open file command GrahamC Excel Discussion (Misc queries) 0 August 23rd 07 12:40 AM
how can I access favorites in the Excel 2007 Open file command GrahamC Setting up and Configuration of Excel 0 August 23rd 07 12:36 AM
Access and Excel 2007 don't open PNH@CLC Excel Discussion (Misc queries) 1 August 17th 07 05:21 AM
Open Access 2003 or 2007 from Excel Donna Excel Programming 10 August 14th 07 10:50 PM


All times are GMT +1. The time now is 06:25 PM.

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"