+ Reply to Thread
Results 1 to 5 of 5

How do i make my code loop properly?

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    19

    How do i make my code loop properly?

    How can i make this go through every through all the data in column A instead of just A1?

    I already sorted how to extract from A1-B1-C1-D1 how do i get it to process A2-B2-C2-D2 and then continuing extracting A3-B3-C3-D3 and so on?



    Please Login or Register  to view this content.
    Regards, Alex

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: How do i make my code loop properly?

    Hi. Alex,

    maybe like this:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: How do i make my code loop properly?

    Try this:

    Please Login or Register  to view this content.
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  4. #4
    Registered User
    Join Date
    02-21-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How do i make my code loop properly?

    Thank you both, Holger's worked perfectly. Thanks for quick reply. Commend/solved (both of you)! Thanks again

    /Alex

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Try this.


    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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