Results 1 to 8 of 8

How to recall last selected item in a userform combobox?

Threaded View

thedefense How to recall last selected... 07-05-2014, 12:06 PM
Leith Ross Re: How to recall last... 07-05-2014, 12:53 PM
Winon Re: How to recall last... 07-05-2014, 01:00 PM
thedefense Re: How to recall last... 07-05-2014, 02:18 PM
thedefense Re: How to recall last... 07-05-2014, 02:19 PM
Winon Re: How to recall last... 07-06-2014, 05:25 AM
thedefense Re: How to recall last... 07-06-2014, 06:48 AM
Winon Re: How to recall last... 07-06-2014, 10:09 AM
  1. #1
    Registered User
    Join Date
    04-14-2012
    Location
    Paris, France
    MS-Off Ver
    Excel 2010
    Posts
    25

    How to recall last selected item in a userform combobox?

    Hello All,

    I've created and coded a vba userform that creates purchase orders for my projects. The user begins by selecting the project code from the combobox (the project code is a unique identifier of each project). Once the purchase order is created, the information is logged in a separate sheet called "POLog" and the userform is cleared. The project code is saved in the first column of the "POLog".

    My problem is that when I have more than one purchase order to create for the same project (sometimes I have 20 or 30), the combobox starts out empty and I have to manually select the project code from the combobox. Is there a way to allow the userform to recall the last project code that was used? Maybe recalling it from the last row in the "POLog" sheet?

    Any help will be greatly appreciated. Thanks!
    Last edited by thedefense; 07-06-2014 at 06:52 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. selecting an item in combobox, the item does not get selected
    By AVM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2014, 05:14 AM
  2. Update Rows in Database based on Combobox selected item on Userform. Problem .
    By jmarriott in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2013, 01:08 PM
  3. Replies: 3
    Last Post: 04-02-2013, 06:02 PM
  4. Combobox: How to determine the location of the selected item if combobox has rowsource
    By ahsanzafar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2012, 03:24 PM
  5. Determine Selected Item in a (Userform’s) ComboBox
    By StevenM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2012, 09:07 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