+ Reply to Thread
Results 1 to 6 of 6

Active-X text box with scrolling bar with vlookup option ?

  1. #1
    Registered User
    Join Date
    01-13-2017
    Location
    Greece
    MS-Off Ver
    2007
    Posts
    52

    Active-X text box with scrolling bar with vlookup option ?

    Hello there guys, I was wondering if there is a VBA code to make an Active-X text box with scrolling bar to get the data from another sheet table (something like vlookup function). I have a data validation cell list with choices and I want to appear different content (always in the text box with scrolling bar) depending on the choice the user made in the drop down list cell.

    I upload a sample file with some explanation on what I am looking for .

    Thanks alot
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Active-X text box with scrolling bar with vlookup option ?

    What is a "text box with scrolling bar" ...?

    Do you mean a drop down list (ComboBox)??

  3. #3
    Registered User
    Join Date
    01-13-2017
    Location
    Greece
    MS-Off Ver
    2007
    Posts
    52

    Re: Active-X text box with scrolling bar with vlookup option ?

    No no, the object I have at the A1 cell in Sheet1 of the example file is an Active-X text box. It's an object you get at the developer tab -> Insert ->Active-X controls - Text box. This is the only way, I know off, to make a cell having scroll bar. I basically want to put a very long text inside and to have the scroll bar in that cell so the user can read the content without the need of getting a huge Cell.

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Active-X text box with scrolling bar with vlookup option ?

    Hi,

    Yes, you will need to use a VLOOKUP. Enter you VLOOKUP in a helper cell somewhere in your workbook. Then in your TextBox1 properties under "LinkedCell" enter the cell that contains your VLOOKUP.
    When you change your pull down in B3 the contents of your TextBox1 in A1 will update accordingly.

    Hope that makes sense and works for you.

    Cheers

  5. #5
    Registered User
    Join Date
    01-13-2017
    Location
    Greece
    MS-Off Ver
    2007
    Posts
    52

    Re: Active-X text box with scrolling bar with vlookup option ?

    Southward you are my savior!! thanks alot man [Solved] and lots of Reputation stars! . Some times the solution is there and can't be seen hehehe thanks again.

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Active-X text box with scrolling bar with vlookup option ?

    Glad I could be of some assistance.

    Cheers

+ 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] Listbox Active X on WorkSheet - SCROLLING ?
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2016, 10:05 PM
  2. Prevent Active X controls From Scrolling on worksheets
    By fraz627 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2016, 01:45 AM
  3. how to move option button when scrolling
    By lisa83 in forum Excel General
    Replies: 0
    Last Post: 08-05-2014, 12:31 AM
  4. Creating a chart with the option of an scrolling axis
    By julian guerra in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-24-2013, 06:16 PM
  5. Same kind of option - Multiple entries - scrolling
    By skhari in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 06-26-2012, 01:21 PM
  6. Active cell moving but sheet is not scrolling
    By AmStaffMom in forum Excel General
    Replies: 3
    Last Post: 05-30-2012, 02:08 PM
  7. Replies: 0
    Last Post: 02-25-2012, 04:28 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