+ Reply to Thread
Results 1 to 4 of 4

VBA to output column of dates within a range, for multiple ranges

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    Kingston, Jamaica
    MS-Off Ver
    Excel 2007
    Posts
    2

    VBA to output column of dates within a range, for multiple ranges

    Hi

    I need a 'simple' vba that outputs all the dates in a range that correspond to a particular ID in a column as well as that same ID in a column beside the dates.

    So basically using the data in columns A to B as input, to get columns E and F as output.

    Also, for a lot more than just 3 IDs.

    Thanks a lot.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to output column of dates within a range, for multiple ranges

    This will create your list:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    Kingston, Jamaica
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: VBA to output column of dates within a range, for multiple ranges

    That works! Thanks a lot JBeaucaire!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to output column of dates within a range, for multiple ranges

    I've marked this thread as SOLVED for you.
    Next time, select Thread Tools from the links above to mark a thread as SOLVED. Thanks.

+ 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. Find column number or range in a row (multiple ranges)
    By Martijn79 in forum Excel General
    Replies: 15
    Last Post: 04-13-2014, 06:29 AM
  2. Replies: 2
    Last Post: 10-21-2013, 07:55 PM
  3. Generating output to a column for many ranges
    By Rynofasho in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2010, 03:08 PM
  4. Replies: 8
    Last Post: 02-27-2009, 06:06 PM
  5. Output from a range of dates.
    By pevaughn in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-09-2008, 05:57 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