+ Reply to Thread
Results 1 to 10 of 10

Excel Userform to Export to Access

  1. #1
    Registered User
    Join Date
    04-10-2019
    Location
    jordan
    MS-Off Ver
    2016
    Posts
    6

    Excel Userform to Export to Access

    i need your help to complete code in excel user form button (save data\new)
    the user form is to record data in it then when press button (save data\new)
    the data export to access data base and clear all data in user form to new record
    thanks alot
    Attached Files Attached Files
    Last edited by onejan; 08-03-2019 at 04:43 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Excel Userform to Export to Access

    An easy alternative is to build your table in Excel. Link it to Access. No need for any VBA to transfer the data. You enter your data in the excel sheet and it automatically updates the information into Access and can be used for queries or reports.

    https://support.office.com/en-gb/art...d-e084913cc958
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-10-2019
    Location
    jordan
    MS-Off Ver
    2016
    Posts
    6

    Re: Excel Userform to Export to Access

    thanks alansidman
    but i need putting code in excel form

    the form to use from many users

    can you help me

    thanks
    Last edited by onejan; 08-03-2019 at 10:05 AM.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Hi !

    Why don't you use directly Access for the data entry ?!

    As the better way is without any code like the link from Alan …

    As Access can import text files, so a beginner easy way is to save Excel data as .csv for example …

  5. #5
    Registered User
    Join Date
    04-10-2019
    Location
    jordan
    MS-Off Ver
    2016
    Posts
    6

    Re: Excel Userform to Export to Access

    ok as i said before

    the user form in excl used from many users
    and this form to inter data on it by many employee using deferant pc
    and i want to save what employee record in access data base

    thanks

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: Excel Userform to Export to Access

    I'm with Marc on this issue. Having many users trying to use the same form in Excel will only cause issues, while you can build a form in Access and have an almost unlimited number of people logged into the Access file with out any disruption or duplications or errors from multiple people in the same program. I believe that the direction you are attempting to go will lead you to many issues in the long run. I speak from experience here. Excel does not work well when many users attempt to share a file.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: Excel Userform to Export to Access

    the user form in excl used from many users
    "We've always done it that way," is never a valid reason not to make a change. I'm with the others: choose the right tool for the job.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: Excel Userform to Export to Access

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you have so few posts here, I will provide the links for you this time.)

    https://www.accessforums.net/showthread.php?t=77825

    https://www.mrexcel.com/forum/micros...data-base.html

  9. #9
    Registered User
    Join Date
    04-10-2019
    Location
    jordan
    MS-Off Ver
    2016
    Posts
    6

    Re: Excel Userform to Export to Access

    Hi AliGW

    i apologize for this but i put subject in many site to reach for quick answer

    i need this project
    Need desperately

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: Excel Userform to Export to Access

    If you are that desperate for help, perhaps go and ask on a site where you can pay someone to look at it immediately.

    This is not one of those sites. Those who help here are volunteers, and in order that their time not be wasted, we have a rule about cross-posting. You have to abide by this rule even if you are desperate for help.

    Please read the forum rules: https://www.excelforum.com/forum-rul...rum-rules.html

+ 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. Excel userform export to access table
    By DannyJ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2016, 02:00 AM
  2. Excel 2010 userform to access and edit the data in MS ACCESS DB tables
    By anand_y59 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2012, 07:46 AM
  3. Opening Excel from Access, running Code in Excel then export back to Access
    By JungleJme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-28-2012, 08:49 AM
  4. VBA Export from Excel to Access
    By Oly Steel Man in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-02-2012, 04:15 PM
  5. Access Export to Excel
    By tommyfernandez in forum Access Tables & Databases
    Replies: 0
    Last Post: 08-18-2009, 05:04 PM
  6. Access Export to Excel
    By paullayton in forum Excel General
    Replies: 0
    Last Post: 03-19-2008, 02:11 PM
  7. [SOLVED] export access to excel. change access & update excel at same time
    By fastcar in forum Excel General
    Replies: 0
    Last Post: 06-24-2005, 05:05 PM

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