+ Reply to Thread
Results 1 to 2 of 2

VBA: Autofill based on list in another sheet

  1. #1
    Registered User
    Join Date
    02-08-2019
    Location
    Ålesund, Norway
    MS-Off Ver
    Excel 365
    Posts
    16

    VBA: Autofill based on list in another sheet

    Hello guys,

    See attached wordbook. When i start writing in column A in sheet "Objektliste", I want excel to give me suggestions based on text in column A in sheet "TFM-database". Is there anyone who has a good solution for this?

    Best regards,
    Jan Inge, Norway
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: VBA: Autofill based on list in another sheet

    Hi Jan Inge,
    how about this:
    a named range "Lijst" with range:
    Please Login or Register  to view this content.
    and in the data validation box on A7 (in the Objektliste) in "Source" the following code "=Lijst"
    after this you can copy this down.

    After typing the first letters you can click on the validation arrow and it will give a list of those items containing these letters.
    (In the background there is an event macro running on each change in column 1 to fill the needed variable Utstyrstype.)

    BTW it was -for me- necessary to sort the items alphabetically! It looks nicer in the dropdownlist.

    Cheers
    Erwin
    Attached Files Attached Files
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

+ 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] Autofill next blank row on 2nd sheet based on data in the 1st sheet
    By RIZVI in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-07-2020, 05:17 AM
  2. Autofill a cell based on Drop-down List Selection
    By jjjacob2010 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2017, 05:39 AM
  3. Autofill master list (sheet) from multiple sheets
    By Jandeezi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2016, 02:19 PM
  4. Replies: 4
    Last Post: 08-14-2013, 09:14 PM
  5. [SOLVED] AutoFill list with values that are set elsewhere in the sheet
    By Odeen in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-05-2013, 04:14 AM
  6. [SOLVED] Autofill Based on Choice From Drop Down List?
    By jbakajust1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2012, 11:57 AM
  7. Dynamic List help...Macro to autofill a sheet based on "checkbox" criteria
    By drumbok5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2012, 10:14 PM

Tags for this Thread

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