+ Reply to Thread
Results 1 to 3 of 3

textbox value disappears when combox1 isselected

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    textbox value disappears when combox1 isselected

    hi
    I have found this code ,when com1 is selected data is found,enter name in tb8 and press save,name stays in tb8 all others clear,select
    com1 again and name disappears,what I would like to happen is name stays in tb8 until exit is clicked,any pointers please,would if then statement in module checkbeforesave do it,have tried but am bit lost
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 12-15-2013 at 05:04 AM.

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: textbox value disappears when combox1 isselected

    the reason is that when you select a new item from com1 it is loading the data for that item. if you disabled the load for tb8 then you wont get all the data for that item.
    if that's what you want then delete
    Please Login or Register  to view this content.
    from load data
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: textbox value disappears when combox1 isselected

    hi sean
    so simple eh , or maybe for you ,many thanks
    cheers colin

+ 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] Textbox disappears
    By B. Scace in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-29-2005, 07:05 PM
  2. textbox scrollbar disappears
    By Yaniv in forum Excel General
    Replies: 3
    Last Post: 06-21-2005, 02:05 PM
  3. textbox scrollbar disappears
    By Yaniv in forum Excel General
    Replies: 1
    Last Post: 06-20-2005, 07:05 PM
  4. Textbox disappears in freeze panes
    By Waititi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2005, 03:23 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