+ Reply to Thread
Results 1 to 3 of 3

Excel userform export to access table

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Excel userform export to access table

    Hi All,

    I have been trying to do this for a while now Any help would be much appreciated. I have a userform with combo boxes and text boxes and when submit is clicked it exports the data to a seperate excel spreadsheet. I would also like the data to be exported to an access table that I have set up with all the same field names. I have found the following code but it is for direct spreadsheet to access which obviously doesn't work. Any help is greatly appreciated.

    I have attached the code as my firewall won't allow me to put it in the body of this message.

    Thanks in advance,

    Danny
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Excel userform export to access table

    I have decided to do this through the worksheet now. I thought I had it working but it isn't actually exporting the data even though it is running through the whole code without any errors.

    I have attached a workbook with the code in VBA.

    Thanks in advance.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Excel userform export to access table

    Anyone that can help with this? I have the access table linked to excel at the moment but would prefer it if the userform could export direct to access due to the way it is at the moment meaning that I can't edit the data from the access side.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. need vba code for MS Access to split the table and export it to excel
    By Giri.hb in forum Access Programming / VBA / Macros
    Replies: 16
    Last Post: 09-17-2016, 10:30 AM
  2. [SOLVED] Export whole table with headers from Excel to Access
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2016, 03:59 AM
  3. MS Excel VB Userform export to MS SQL Table
    By huntethic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-17-2013, 09:10 AM
  4. Using Excel VBA to Export data to Ms.Access Table
    By ahmed_one in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2013, 01:54 AM
  5. Export an Excel Tab to Access (Table)
    By ewong in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-04-2012, 07:12 PM
  6. How do I export data with unkonwn numbers of table from Access to Excel?
    By graceey82 in forum Access Tables & Databases
    Replies: 0
    Last Post: 10-09-2009, 03:04 AM
  7. How to export Excel data to an Access table
    By Pixar in forum Excel General
    Replies: 4
    Last Post: 10-28-2008, 01:01 AM

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