+ Reply to Thread
Results 1 to 3 of 3

FindFormat ColorIndex Then Make A List

  1. #1
    Registered User
    Join Date
    11-13-2015
    Location
    Titusville, PA
    MS-Off Ver
    2010
    Posts
    53

    FindFormat ColorIndex Then Make A List

    Thanks to all who have helped this little project of mine get this far!


    Next step -

    Generate a list of all the cells with a given interior color

    Two Lists are needed

    The first list will search for anything red on a single Sheet "INVMaster" and paste the cell contents in a list form

    The second will search for anything red on 17 other sheets (though in this example I only included 2) and make a single list of the red cells found.


    Right now i have been researching on it and I read that .Find won't work, that I need .FindFormat

    You guys have any ideas?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: FindFormat ColorIndex Then Make A List

    Hi cwhite86,

    I tend to write code that is verbose. The following code works for me. There are working copies of the code in the attached file which I refer to quite often.

    Please note that .find is very particular about the inputs:
    a. ws.Cells.Find and ws.Range MUST refer to the same sheet.
    b. In the 'FindNext' example, ws.Columns("C") and After:=ws.Range("C1") must Match (e.g. Column 'C').


    Please Login or Register  to view this content.
    Similar code for your previous thread:
    Please Login or Register  to view this content.
    Lewis
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-13-2015
    Location
    Titusville, PA
    MS-Off Ver
    2010
    Posts
    53

    Re: FindFormat ColorIndex Then Make A List

    Thanks for that, Haven't responded due to security issues on site.

    Thanks again.

+ 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. Using a 2nd Instance of FindFormat
    By stuartgb100 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2015, 01:49 PM
  2. Using Findformat
    By stuartgb100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2015, 03:36 PM
  3. Use FindFormat on a Range
    By stuartgb100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2015, 02:01 PM
  4. [SOLVED] FindFormat Accounting Error
    By yusunghee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2013, 12:02 PM
  5. colorindex make a color a number
    By PanoIan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2007, 09:05 PM
  6. [SOLVED] FindFormat with Borders not Working
    By xenovah@gmail.com in forum Excel General
    Replies: 0
    Last Post: 06-06-2006, 12:10 PM
  7. FindFormat w/ multiple spreadsheets
    By BarryQ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2005, 03:13 PM

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