+ Reply to Thread
Results 1 to 2 of 2

Loop through workbook applying two different actions to two sets of sheets

  1. #1
    Registered User
    Join Date
    11-23-2013
    Location
    new york, ny
    MS-Off Ver
    Excel 2010
    Posts
    42

    Loop through workbook applying two different actions to two sets of sheets

    I have a multi-sheet workbook (6 sheets) and I'd like to apply two different actions to separate sheets. The issue is that the sheets are not in order...

    On the sheets called "sales" "week1" "week2" "budget": whenever the font color is blue (23) then I want to enter "0" and clearcomments


    On the sheets called "CRJ", "PDR": whenever the font color is blue (23) then I want to clearcontents and clearcomments


    The range A1:CX100 will account for everything.. I tried to start the code but this only seems to act on the active sheet.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Loop through workbook applying two different actions to two sets of sheets

    Please Login or Register  to view this content.

+ 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. [SOLVED] Loop codes through multiple sheets (not all sheets in workbook)
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2014, 02:11 AM
  2. [SOLVED] Adding data sets from same workbook, but different sheets into one chart
    By trisham in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-14-2013, 09:22 AM
  3. [SOLVED] loop action through all sheets in workbook skipping certain sheets
    By sawa85sa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2013, 06:40 PM
  4. [SOLVED] Repeat actions in a Loop
    By abduljaleel.mca in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2013, 11:03 AM
  5. Macro to loop actions until empty cell
    By RobbieMoulton in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-29-2011, 02:59 AM

Tags for this Thread

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