+ Reply to Thread
Results 1 to 12 of 12

fill textbox with corresponding value

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

    fill textbox with corresponding value

    Dear All
    can please review my code in the userform to do the following
    the combobox1 is list of product from Waiting list sheet in column A
    combobox2 is listed corresonding batch for product selected in combobox1
    combobox3 is list number of shift from Ref sheet
    combobox 4 is list run time from ref sheet
    textbox1 is show value corresonping to product and batch slected in combobox 1 & 2 from
    waiting list in column E

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: fill textbox with corresponding value

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

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

    Re: fill textbox with corresponding value

    its work good now many thanks Dear Alphafrog

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

    Re: fill textbox with corresponding value

    can please explain the code that can i modify to other if i understand it

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

    Re: fill textbox with corresponding value

    Can please review this code for add buttom
    its give me error with this line Set ws = Worksheets("Attendance")
    HTML Code: 

  6. #6
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: fill textbox with corresponding value

    Quote Originally Posted by mazan2010 View Post
    Can please review this code for add buttom
    its give me error with this line Set ws = Worksheets("Attendance")
    The sheet name has a space at the end

    "Attendance "

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

    Re: fill textbox with corresponding value

    very good
    its work good now

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

    Re: fill textbox with corresponding value

    please last question i forget
    if i need to make this code for add button all the time add the data to range of cell B1:B6 but give me message that will data present will be changed
    how can make it ?
    HTML Code: 

  9. #9
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: fill textbox with corresponding value

    Quote Originally Posted by mazan2010 View Post
    please last question i forget
    if i need to make this code for add button all the time add the data to range of cell B1:B6 but give me message that will data present will be changed
    how can make it ?
    I don't know what that means.

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

    Re: fill textbox with corresponding value

    look to my attched file
    want add data only in cell highlighted with yellow color every time i press add button but give me alert message first
    Quote Originally Posted by AlphaFrog View Post
    I don't know what that means.

  11. #11
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: fill textbox with corresponding value

    Please Login or Register  to view this content.

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

    Re: fill textbox with corresponding value

    thank you Dear Alphafrog about your help

+ 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. [SOLVED] Fill textbox with the value of a cell
    By zvonacfirst in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2017, 07:40 AM
  2. 3 listboxes to fill textbox
    By molesy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2014, 07:06 PM
  3. [SOLVED] Fill textbox from another textbox when enter and car return
    By Alendi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-11-2013, 03:16 PM
  4. [SOLVED] VBA UserForm - Have entry in TextBox fill Another TextBox by VLOOKUP
    By msquared99 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2012, 10:24 PM
  5. Combobox to fill textbox with one of 3 choices
    By nighttrainrex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-20-2012, 02:24 AM
  6. textbox fill color
    By tcexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2007, 01:23 PM
  7. [SOLVED] Fill Textbox from cell
    By V. Roe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2005, 04: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