+ Reply to Thread
Results 1 to 3 of 3

macro amendment so that it loops

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    8

    macro amendment so that it loops

    Hi all,

    I have a small issue i am sure one of you will solve extremely quickly.

    In each row in column A I have a start date and in each row in column B I have an end date (no set number of rows). What I want is for the list of dates between these 2 dates to be listed in the corresponding cells in column C onwards.

    I have code to do row 1 which works perfectly (see below) but this does not loop ( I want it to loop until it reaches a blank cell).

    Please Login or Register  to view this content.


    Your help would be hugely appreciated.

    Many thanks, matt

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: macro amendment so that it loops

    Try this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: macro amendment so that it loops

    Hi Marvin,

    Thanks for your extremely quick reply. This works fantastic. I hope to use these forums to develop my knowledge of VB so I can answer my own questions in the future!

    Many thanks, Matt

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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