+ Reply to Thread
Results 1 to 4 of 4

Help with creating a loop within vba

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2002 + 2010 + MAC 2010
    Posts
    15

    Help with creating a loop within vba

    Hi All

    Could anyone advise on how to turn the following code into a loop? I need this to check through columns B to BK, i have the code working by duplicating the code for each column, but this seems very messy and very long!

    Please Login or Register  to view this content.
    Any help would be appreciated.

    Thanks

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help with creating a loop within vba

    Perhaps a macro like this?

    Please Login or Register  to view this content.
    Alf

  3. #3
    Registered User
    Join Date
    10-22-2012
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2002 + 2010 + MAC 2010
    Posts
    15

    Re: Help with creating a loop within vba

    that worked great - many thanks

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Help with creating a loop within vba

    Glad to be of help. Thanks for rep and feed back!

    Alf

+ 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