+ Reply to Thread
Results 1 to 5 of 5

Faster way to autofill dates

  1. #1
    Registered User
    Join Date
    02-19-2012
    Location
    Nowhere land
    MS-Off Ver
    Excel 2013
    Posts
    13

    Question Faster way to autofill dates

    I have searching around and haven't an elegant way to create a range of dates faster.
    I have two cells that contain dates. I named those two cells as ranges. The user is fill out those two dates. From those two dates, the macro will go look at those two dates and create range of two dates. From that info, another function will do some data manipulation and create a trend chart.
    The problem, if I use a for loop, it takes excel a long time to create a column of dates (based on the user entry). Is there a faster way to autofill between two dates?
    Please Login or Register  to view this content.
    Last edited by spewer; 03-12-2012 at 03:30 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Faster way to autofill dates

    Can you attach a sample file? Too lazy to go through your code without knowing what the raw data looks like

  3. #3
    Registered User
    Join Date
    02-19-2012
    Location
    Nowhere land
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Faster way to autofill dates

    Here is a xlsm file with my simple macro
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Faster way to autofill dates

    This might give you the same result too

    Please Login or Register  to view this content.
    Last edited by JieJenn; 03-12-2012 at 01:42 PM.

  5. #5
    Registered User
    Join Date
    02-19-2012
    Location
    Nowhere land
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Faster way to autofill dates

    Yep. That worked and it is fast. Thanks JieJenn!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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