+ Reply to Thread
Results 1 to 5 of 5

Looping help!

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Looping help!

    Hi,

    I am using this code for looping now, but it doesnt do what I am looking. hope anyone can help.

    Please Login or Register  to view this content.
    Here is the result I want it to be: let say there is total

    Please Login or Register  to view this content.
    Anyone can fix my code? or suggestion?

    Thanks.

  2. #2
    Forum Guru mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,230

    Re: Looping help!

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Looping help!

    Hi,

    What's sheet and macro , and GetText?


    Thanks

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Looping help!

    Quote Originally Posted by mikerickson View Post
    Please Login or Register  to view this content.
    This seems good, however, I have it on "j" because it repeat till 10, and it will repeat again from 6 to 10. That is why I use another variable.

    Here is the result I want to shortcut
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    440

    Re: Looping help!

    the "something" is the cursor position of a data, but that is not important. I am looking more for the
    mathematical equation to save time of copy paste. So I need loop.

    Please Login or Register  to view this content.
    I will need to declare something in the "something(x,y)" so it add 1 each time until 13 (max.)

    Here is the ugly result that I need as result:
    Please Login or Register  to view this content.
    That is why I will need to declare something for i that wont terminate until the "if doesnt have anymore page.)
    And the "something(x..)" the x should be 6 to 13,then 6 to 13...

    Please help, I am stuck with this equation since couple day trying to figure out :/

    Thank you.
    Last edited by calvinle; 06-21-2014 at 07:43 PM.

+ 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. Looping through each row
    By dusto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 09:40 PM
  2. Do Until Looping (not looping through all other columns)
    By orle8050 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2013, 10:37 AM
  3. [SOLVED] VBA Looping with Ifs
    By harrison298 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2012, 04:35 AM
  4. Help with looping
    By dok112 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-01-2005, 01:09 PM
  5. Looping
    By teresa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2005, 09:05 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