+ Reply to Thread
Results 1 to 4 of 4

Loading access data in combo box vba

  1. #1
    Registered User
    Join Date
    07-27-2016
    Location
    wien
    MS-Off Ver
    2010
    Posts
    3

    Lightbulb Loading access data in combo box vba

    Hello guys,
    I would like to know if it is possible load data from access into combo box?

    I have bunch of columns in access, each of them is one word, and they repeat, so I would like to include e.g. 20 most frequent ones in combo box - to get something like a drop down menu?

    Do you understand my issue, or I would specify it more?

    thanks in advance

    I wrote this code below, but it is still returning me the empty combo box, without even giving me an error...

    "
    Please Login or Register  to view this content.
    "
    Last edited by alansidman; 01-22-2018 at 01:48 PM.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Loading access data in combo box vba

    I use this connection. (it works)
    slight changes to your code to prevent errors.

    Please Login or Register  to view this content.

  3. #3
    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,895

    Re: Loading access data in combo box vba

    Code Tags Added
    @nn992
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    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

  4. #4
    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,895

    Re: Loading access data in combo box vba

    crossposted: https://www.mrexcel.com/forum/excel-...o-box-vba.html

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

+ 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. Combo Boxes not loading Data Validation List
    By Seve in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-29-2013, 10:27 AM
  2. Importing Data from Access into my combo box
    By psboyboy13 in forum Access Tables & Databases
    Replies: 1
    Last Post: 11-15-2012, 10:47 AM
  3. Problem with loading data from a combo box to my sheet
    By Quicksnot in forum Excel General
    Replies: 0
    Last Post: 09-18-2012, 05:04 PM
  4. Loading combo box
    By sentinela in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-05-2009, 07:32 AM
  5. Dropdown/Combo Boxes not loading
    By Pchard in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2009, 02:26 PM
  6. Combo Box in userform not loading
    By sentinela in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2009, 11:40 AM
  7. [SOLVED] loading data from access in vba
    By Remy in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-18-2006, 01:40 PM
  8. Loading Data to Combo from Text file
    By haiimran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2005, 02:05 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