+ Reply to Thread
Results 1 to 2 of 2

Auto Populating Fields

  1. #1
    Registered User
    Join Date
    05-28-2011
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Smile Auto Populating Fields

    I have set up a userform that I use to enter sales data, what I would like to do is be able to use this same form to look up data already entered on the worksheet "sales", then make any changes, then update the workbook or add a new product & projected sales data. I am not sure how to change the code to do this. I am fairly new to VBA coding & I have tried searching the forum, but i haven't come up with the answer. (I have used this format & based it to suit my situation from a Userform i downloaded from www.contextures.com)

    Once a cboRegion has been selected I would like to populate cboProduct1, cboProduct2 etc with products that have sales for the cboRegion selected along with populating txtJuly1, txtAugIn1, txtSept1 etc etc.

    I just need you to give me an example to follow & where to put it that would be great.

    Here is a screenshot of my userform http://cid-9b0f0d5afa4a0fd5.photos.l...s/UserForm.jpg

    Here is a screenshot of my worksheet "Sales" http://cid-9b0f0d5afa4a0fd5.photos.l...5AFA4A0FD5!361

    Looking forward to your suggestions:

    Please Login or Register  to view this content.
    Last edited by dlhslim; 06-07-2011 at 08:23 AM. Reason: code tags for newbie pm rule

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: Auto Populating Fields

    Hi,


    Welcome to the forum. Could you attach a copy of your workbook?
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

+ 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