+ Reply to Thread
Results 1 to 3 of 3

Add values from diffrent sheets to drop down menu and ignoring blank cells.

  1. #1
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Add values from diffrent sheets to drop down menu and ignoring blank cells.

    Hi! I have this code which takes data from one sheet and when running a macro it displays a dropdown.

    Please Login or Register  to view this content.
    How can I in Formula1 add values from 2 more sheets named HEA and HEB. They are within the same range as "IPE!$J$307:$J$324". How can I also write the code that within range J307:J324 it skips the blank cells in that column

    Thankful for any kind of help.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Add values from diffrent sheets to drop down menu and ignoring blank cells.

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Add values from diffrent sheets to drop down menu and ignoring blank cells.

    Hi! ofcourse I will provide the answer. I didnt code it in VBA though.

    How to import values from diffrent sheets into the code above:

    To do this I actually copied and pasted the values from the other sheets into a new sheet which instead contained a very long column.

    How to skip blanks:

    This large column I created now contains alot of blanks etc. To skip theese I simply followed this tutorial: http://www.youtube.com/watch?v=6PcF04bTSOM

    I created The formula 1 and 2 like in the example. This gives me a column which now contains values form all sheets plus no blanks. And it is also dynamic, which suited for me. To this list i assigned a new name:

    Please Login or Register  to view this content.

    The code above creates a drop down list with values from "ListWithNoBlanks". This list then is dynamic and contains the values you want. Hope that helped, have a nice day !

+ 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. Replies: 5
    Last Post: 01-24-2013, 06:29 AM
  2. Blank Rows from Merged Cells in Drop Down Menu
    By Kati in forum Excel General
    Replies: 2
    Last Post: 01-17-2013, 05:55 AM
  3. Replies: 0
    Last Post: 03-05-2012, 05:50 AM
  4. HOw to Paste links instead of Values in diffrent sheets
    By adbains in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2011, 12:00 PM
  5. duplicating cells in diffrent sheets
    By kevatt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2006, 07:15 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