+ Reply to Thread
Results 1 to 4 of 4

Dual entering

Hybrid View

Hillsy7 Dual entering 04-13-2011, 10:00 AM
tigeravatar Re: Dual entering 04-13-2011, 11:27 AM
Hillsy7 Re: Dual entering 04-14-2011, 05:29 AM
tigeravatar Re: Dual entering 04-14-2011, 12:40 PM
  1. #1
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Dual entering

    Hillsy7,

    Alright, so I think I understand the issue now. The problem is that its dual-entering and you do not want it to input the information anywhere other than the userform. In my test workbook (which is attached), I did the following to get it to work:

    -Created a module that contains two public variables: txtActive and lbxSelection
    (txtActive will be the active textbox name that got double-clicked and lbxSelection will be the double-clicked value of the listbox)
    -Created a function that gets called when a textbox on the first userform is doubleclicked
    -The function sets the txtActive public variable to the active textbox's name and then opens the second userform.
    -The second userform sets the double-clicked value of the listbox to the lbxSelection public variable
    -The function then makes the txtActive textbox text = lbxSelection.

    See the attached workbook to see how it works. Let me know if you're looking for something different and I didn't actually understand your issue.

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

+ 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