Excel 2010 VB problem after server move

Posted on 2012-09-10
Last Modified: 2012-09-17
Our users had some excel spread sheets that had a field pointing towards a database on a server that was recently retired (of course we had no idea this even existed) and I'm trying to point it towards the location of the new server, I've verified that the file is there in the path specified but the field is still failing when someone tries to type any info in it.  When I run the debugger this is what shows up:
cn.Provider = "Microsoft.Jet.OLEDB.4.0"
cn.ConnectionString = "Data Source=\\Cargo-fs-02\Public\ProdData\ProdData.mdb"

It's saying that failure is at the cn.Open command.  What step am I missing here?
Question by:adml_shake
    1 Comment
    LVL 13

    Accepted Solution

    default user and pw?

    cn.ConnectionString = "Data Source=\\Cargo-fs-02\Public\ProdData\ProdData.mdb;Provider=Microsoft.Jet.OLEDB.4.0;User Id=admin;Password=;"


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now