+ Reply to Thread
Results 1 to 2 of 2

transfer spread sheet

  1. #1
    Access
    Guest

    transfer spread sheet

    i wish to create a button in excel worksheet by clicking on which i can
    transfer the data in the master sheet to a table in access.

    please help me with the VBA code

    Many thanx in advance

  2. #2
    Dave Patrick
    Guest

    Re: transfer spread sheet

    It might be easier to create a macro in Access to do the transferspreadsheet
    function then call the macro.

    Dim appAccess, strConPathToDB
    strConPathToDB = "D:\data\Access\db1.mdb"
    Set appAccess = CreateObject("Access.Application.11")
    appAccess.OpenCurrentDatabase strConPathToDB
    appAccess.DoCmd.RunMacro "TestMacro"
    appAccess.Quit
    Set appAccess = Nothing

    --
    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect

    "Access" wrote:
    |i wish to create a button in excel worksheet by clicking on which i can
    | transfer the data in the master sheet to a table in access.
    |
    | please help me with the VBA code
    |
    | Many thanx in advance



+ 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