+ Reply to Thread
Results 1 to 3 of 3

VBA auto return dates based on date range

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    London
    MS-Off Ver
    2007
    Posts
    5

    VBA auto return dates based on date range

    0down votefavorite



    I have the following code, that isn't quite doing what I want it to

    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer

    At the moment it looks for the start and end date on another worksheet. it then returns the dates in-between. At the moment though it doesn't display the start and end date just the ones in-between. I am also having problems specifying the exact cell I want the dates to appear. I am wanting the first date to appear in B2
    Last edited by 6StringJazzer; 08-25-2015 at 11:33 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: VBA auto return dates based on date range

    Does this help?

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA auto return dates based on date range

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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] Trying to get cells to return a range based on two dates
    By redjayhawk11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-26-2013, 01:26 PM
  2. Auto Adjusting X Axis range based on dates
    By mcranda in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2013, 06:05 PM
  3. Replies: 2
    Last Post: 06-07-2013, 02:21 PM
  4. [SOLVED] return a value in a range if cell has date that fall between two dates
    By preciouslife73 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-12-2013, 09:14 AM
  5. [SOLVED] Date return based on the earlier of 2 other dates
    By CTCoperations in forum Excel General
    Replies: 2
    Last Post: 07-09-2012, 04:47 AM
  6. Compare Dates To Date Range & Return Date Based On Outcome
    By gusmontoya in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-03-2008, 09:06 PM
  7. return based on range of dates
    By Matt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-15-2006, 04:40 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