+ Reply to Thread
Results 1 to 3 of 3

Help with Looping to solve 'procedure too large' problem

  1. #1
    Forum Contributor
    Join Date
    07-12-2005
    Posts
    143

    Help with Looping to solve 'procedure too large' problem

    Hi all,

    Anyone help with looping this please - i need to perform the same action as this until the numbers in red are say, 100). Alternatively until a line to be copied is blank.


    lrw = Sheets("BREAKDOWN").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Row

    Sheets("BREAKDOWN").Cells(lrw, 1) = Sheets("invoice").Range("cg7")
    Sheets("BREAKDOWN").Cells(lrw, 2) = Sheets("invoice").Range("ch7")
    Sheets("BREAKDOWN").Cells(lrw, 3) = Sheets("invoice").Range("ci7")
    Sheets("BREAKDOWN").Cells(lrw, 4) = Sheets("invoice").Range("cj7")

    Thanks for all the help. Could someone also recommend any links to good looping examples?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646
    Perhaps something like this.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-12-2005
    Posts
    143
    Thanks Norie, I'll give that a go.

+ 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