+ Reply to Thread
Results 1 to 5 of 5

looping around several pages

  1. #1
    Registered User
    Join Date
    04-29-2010
    Location
    trowbridge
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    21

    looping around several pages

    Hi everyone!!

    basically all i need it to do now is do this for multiple sheets selected from a drop down, (listed on a separate page). each sheet is a date for e.g 07.02.13 and basically the below code works mite be a bit long winded but it works lol!!

    now the additional thing that i need it to do is store each i instead of writing it direct to cell_count i need it to total each i and then write it, ive tried a few things but its been a while since i used vb for 1 plus im only a novice! lol any help would be much appreciated!! i hope someone can help

    Cheers

    Excel / VB community

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: looping around several pages

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-29-2010
    Location
    trowbridge
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    21

    Re: looping around several pages

    hmmm i see what your trying to do (i think) but it doesnt work.... what i need is the bit where it writes to columns c d e f g , i need it to retain the current values and then add the new value i tried this :-

    Please Login or Register  to view this content.
    but it didnt work.... just says cell value is empty when i break on next i each time it progress's it still says cell.value is empty any clues.... hopefully you understand what i mean

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: looping around several pages

    I think I had the data columns and the destination columns swapped. Try this...

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-29-2010
    Location
    trowbridge
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    21

    Re: looping around several pages

    this is the document im working on mite make more sense i get what your trying to do and its because im not explaining myself thanks for all your efforts so far
    Attached Files Attached Files

+ 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