+ Reply to Thread
Results 1 to 2 of 2

DAO working in 2007; not 2003

  1. #1
    Registered User
    Join Date
    08-22-2007
    Posts
    26

    DAO working in 2007; not 2003

    Hi,
    So, I have an excel spreadsheet interacting with an access database via VBA, which I know isn't always a great idea, but for our purposes, it makes the most sense. But, the following code is what I've created to save new data to the database. This code works in Excel 2007, but when I switch to try it in 2003, it doesn't work. No error messages or anything, but when I check the database and refresh it, it hasn't added the new data. Any ideas?

    Please Login or Register  to view this content.
    The localDB has it set up so that the field names are all in the first row and data in the second row so that's how I've done the titleCell/dataCell setup in case you hadn't guessed already. If you need more info, please let me know. Thanks so much.

    Nick.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: DAO working in 2007; not 2003

    Have you tried stepping through it? What is localAccDB?
    Everyone who confuses correlation and causation ends up dead.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1