+ Reply to Thread
Results 1 to 3 of 3

Unable to loop code over specific worksheets

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    57

    Unable to loop code over specific worksheets

    I found this code and tried to loop it through several specific worksheets but it is not working. Is there away to repeat this code through worksheet B, G & L?


    Please Login or Register  to view this content.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: Unable to loop code over specific worksheets

    You can use an array of names like this:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: Unable to loop code over specific worksheets

    if you are wanting to delete rows which have empty Col A cells then...

    Please Login or Register  to view this content.
    OR
    Please Login or Register  to view this content.
    Last edited by sintek; 11-27-2020 at 07:39 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. Replies: 5
    Last Post: 03-19-2018, 02:42 PM
  2. [SOLVED] For loop through specific Worksheets
    By mason0567 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2015, 02:10 PM
  3. unable to figure out code with out specific Target
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2015, 08:57 PM
  4. Loop for adding specific worksheets in specific workbooks
    By pankaj8219 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-13-2013, 10:22 AM
  5. How to loop through specific worksheets?
    By svenk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-11-2010, 12:15 PM
  6. [SOLVED] Unable to Loop Multiple Worksheets
    By jackc in forum Excel General
    Replies: 4
    Last Post: 01-05-2006, 08:50 AM
  7. Loop through specific worksheets
    By Ben in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2005, 10:40 AM

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