+ Reply to Thread
Results 1 to 3 of 3

Loop not working...

  1. #1
    Forum Contributor
    Join Date
    10-28-2009
    Location
    Portland, Maine
    MS-Off Ver
    Excel 2003
    Posts
    102

    Loop not working...

    Hello,
    I have a macro that I just can't get to work. Everything up to the loop works as expected. I'm not sure why this isn't working!

    The macro should take the data from the data entry tab and bring the data to the individual data worksheets (one per tab). I have this working on a different survey project but can't seem to get this one to work.

    Any thoughts or advice would be greatly appreciated. The test file is attached.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by yunesm; 10-10-2011 at 08:13 AM. Reason: SOLVED

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Loop not working...

    The loop is working fine, your problem is the formatting of your date,

    this line:
    Please Login or Register  to view this content.
    Should be:
    Please Login or Register  to view this content.
    Your code is failing because you are trying to find "Oct-11" rather than "10/01/11"

  3. #3
    Forum Contributor
    Join Date
    10-28-2009
    Location
    Portland, Maine
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: Loop not working...

    I figured I was missing something obvious!

    Thank you!

+ 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