+ Reply to Thread
Results 1 to 10 of 10

auto populate textbox1 when selecting values in combobox

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    auto populate textbox1 when selecting values in combobox

    Dear All
    in textbox8 i will enter number that wan to add column C in sheet2
    and want to add unit beside this number (if i select Kg they will add kg to number in the cell,
    if i select L they will add L as unit to number in the cell)

    in textbox2 the data want to populate automatic as the following
    when i select date in datepicker2 according to product name selected in combobox1
    and shelf life time for this product from sheet (Ref) in column W they will add this number as year to date selected in picker2
    for example if i select 19-7-2017 and shelf is 2 the date in textbox2 will be 19-7-2019 and soon


    auto populate tetxbox6 from selection of combobbox2 from column S and related in T column



    textbox5 want to enable to when i press it , it open window to brows the computer to look the file
    with extension photo or pdf
    then


    when i press add data to sheet2 will add all to corresponding cell and attached file browsed
    Attached Files Attached Files
    Last edited by mazan2010; 07-23-2017 at 09:08 AM.

  2. #2
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    i appreciate all your help

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: auto populate textbox1 when selecting values in combobox

    Please Login or Register  to view this content.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    Dear mehmetcik
    first of all many thanks for your help
    please see my attached file because the code not working
    i add code for combobox 1 and 7 to list product name and serial number
    the data will enter will be as in sheet2
    the yellow cell in Column C will add unit automatic like {Kg}
    in F column Will calculated it automatic from shelf life time in ref sheet related to proudct name
    and in column H this number also related to G column from ref sheet
    Quote Originally Posted by mehmetcik View Post
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    any solution for this post

  6. #6
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    i found the folowign code for browse folder but the problem its attahced file to excel workbook but i need to get hyperlink only and save this directory
    HTML Code: 

  7. #7
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    please see my new attached file with the code i already added
    the problem now
    1- why product list now available all only first one only
    2- i need when i add value to quantity first not accept to add the data only after determine the unit if KG or L then add
    this value with unit as in my attached file in sheet2
    3- need to automatic fill expiray date textbox which will calculated from shelf life time of the product from ref sheet
    for example if the product AAAA2 is manufacture date is 30-6-2017 and shelf life is 2 years then expiry will be 30-6-2019
    and soon
    4- why serial number combobox not show the list also from ref sheet
    also i need to fill automatic texrtbox3 related to selection of combobox 7
    from sheet REF in column S and T

  8. #8
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    i try all the time find solution for my self because i didn't have any experiences in programming for this i apologize for lot of question

  9. #9
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: auto populate textbox1 when selecting values in combobox

    How do I know the manufactured date?

    How can you have two weights? Columns C and H

    How can you only have one serial number for each product type?

  10. #10
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: auto populate textbox1 when selecting values in combobox

    Manufacture date must be enter
    No there is different between column C and H
    Last for tank and C is for product
    Yes serial number is not related to product it's related to tank

+ 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. Replies: 10
    Last Post: 02-15-2021, 01:55 AM
  2. [SOLVED] Auto-populate comboBox while typing.
    By kandoo1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-12-2017, 12:18 PM
  3. [SOLVED] How to auto populate other cells when selecting values in Excel drop down list?
    By lougs7 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-24-2016, 08:52 AM
  4. [SOLVED] Code required to Auto Populate 3rd Combobox based on 02nd Combobox Selection
    By bimmy80 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2015, 03:56 AM
  5. [SOLVED] Userform combobox to populate RowSource for new values in combobox
    By Stratfordoaks in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-17-2013, 01:18 PM
  6. Replies: 2
    Last Post: 09-14-2009, 08:34 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