+ Reply to Thread
Results 1 to 7 of 7

Update Access Table from Excel using DAO

  1. #1
    Registered User
    Join Date
    08-12-2010
    Location
    India
    MS-Off Ver
    Excel 2002 - 2007
    Posts
    18

    Smile Update Access Table from Excel using DAO

    Hi All,

    If any one can help me out. I am new in VB Macro and trying to write the macro for update access table from Excel. Using below codes but getting error on ".Find".
    Macro Reference seeting - Microsoft DAO 3.6 Object Libraey

    If you r having any other code for the same tack pls guide and suggest....
    Thanks in advance.....
    Code:-
    Please Login or Register  to view this content.
    Last edited by vish2025; 09-14-2010 at 02:34 AM.

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

    Re: Update Access Table from Excel using DAO

    What error are you actually getting?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    08-12-2010
    Location
    India
    MS-Off Ver
    Excel 2002 - 2007
    Posts
    18

    Unhappy Re: Update Access Table from Excel using DAO

    Quote Originally Posted by romperstomper View Post
    What error are you actually getting?
    The Error is :-

    Compile Error:
    Method or data member not found

  4. #4
    Registered User
    Join Date
    08-12-2010
    Location
    India
    MS-Off Ver
    Excel 2002 - 2007
    Posts
    18

    Re: Update Access Table from Excel using DAO

    Quote Originally Posted by vish2025 View Post
    The Error is :-

    Compile Error:
    Method or data member not found
    I am not sure about the code also. R these code able to update the existing records in access from excel.

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

    Re: Update Access Table from Excel using DAO

    DAO recordsets do not have a Find method - they have FindFirst, FindNext etc. - so you need to use one of those instead.

  6. #6
    Registered User
    Join Date
    08-12-2010
    Location
    India
    MS-Off Ver
    Excel 2002 - 2007
    Posts
    18

    Unhappy Re: Update Access Table from Excel using DAO

    Use the same but getting the error can someone help with other codes which update access table from excel.

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

    Re: Update Access Table from Excel using DAO

    What code did you use and what error did you get? We aren't psychic.

+ 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