+ Reply to Thread
Results 1 to 2 of 2

Copying data depending on chosen date to another worksheet

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Copying data depending on chosen date to another worksheet

    Hello all,

    thanks for taking your time!

    Straight to the problem:

    I have a file with multiple sheets. Each sheet contains data for the next ~15 weeks on a 30min interval basis.
    Every day I'm being told which 4 weeks need to be copied to another file. Sometimes it's the first 4; sometimes the last ones (everything in between is possible as well).

    I'm thinking about a vba code to help me out with this tedious work (it takes about 5 min -not thaaat much. But it sums up over the time).

    What i was thinking about: chosing one week from collumn "K" with a userform (i can type it in as well). The macro would then look up the appropriate week in collumn "B" + the 3 following and copy it to "sheet2" (I'll change that part in the macro to another workbook). I need only the values - don't need collumn "A", nor the date or weekday.

    The same has to be done for every other worksheet in the given file (in this case I've included only 2 - but there will be more).

    If anyone can think of some code for that, I'd more than appreciate it!

    Thanks again!

    Copying data.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: Copying data depending on chosen date to another worksheet

    Hello there,

    Will the times in between the dates always be 0:00 to 23:30?

    Thanks!

+ 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