+ Reply to Thread
Results 1 to 2 of 2

Two For Next Loops together..

  1. #1
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379

    Two For Next Loops together..

    Hi there all,

    I have this macro to create a time sheet from a template for each member of staff, what I need it to do after it is created is populate the time sheet from a list of projects in a separate worksheet:

    Please Login or Register  to view this content.
    I tried this, but it doesn't work

    Please Login or Register  to view this content.
    Can anybody help pleeeeeeeeeease?

    EDIT: OK, it seems to be something to do with the counting the number of Staff/Projects that's buggering it up.... the Staff members start in A4 of the Staff sheet, so I am trying to count the non-blank cells after that.
    Last edited by ChrisMattock; 07-09-2015 at 06:25 AM.

  2. #2
    Forum Contributor
    Join Date
    04-27-2006
    Location
    Cayman Islands
    Posts
    379

    Re: Two For Next Loops together..

    OK - so ignore me, I'm an idiot... I used the NumberofStaff variable for the projects and the staff....

    Please Login or Register  to view this content.

+ 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] Help with do until loops.
    By etuckram in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-28-2013, 08:15 AM
  2. VBA Loops
    By jeskit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2011, 06:58 AM
  3. Loops in VBA
    By kjones505 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2009, 05:43 AM
  4. How I can use Loops
    By kumar28 in forum Excel General
    Replies: 1
    Last Post: 01-12-2009, 02:11 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