Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2016, 08:29 AM
Kari Frey Kari Frey is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Novice
Extracting colored cells from one spreadsheet into another
 
Join Date: Sep 2016
Posts: 4
Kari Frey is on a distinguished road
Default Extracting colored cells from one spreadsheet into another

I have a spreadsheet color coded with red and green cells (in multiple columns). I need ANOTHER spreadsheet to extract and display just the red cells from the original and place them in a single column. How do I do that?
Reply With Quote
  #2  
Old 09-14-2016, 08:49 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Moved to programming section
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 09-14-2016, 03:52 PM
NoSparks NoSparks is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

Are the cells colored manually or by conditional formatting ?

What order is required on the new sheet, by row or by column ?

Last edited by NoSparks; 09-14-2016 at 03:58 PM. Reason: added second question
Reply With Quote
  #4  
Old 09-14-2016, 03:57 PM
Kari Frey Kari Frey is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Novice
Extracting colored cells from one spreadsheet into another
 
Join Date: Sep 2016
Posts: 4
Kari Frey is on a distinguished road
Default formatting

The cells are colored manually. They identify what work still needs to be done (red) vs. what work has been completed (green).
Reply With Quote
  #5  
Old 09-14-2016, 04:42 PM
NoSparks NoSparks is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

You responded too fast.

I edited my original post to add another question.
Should also have asked for the definition of "ANOTHER" spreadsheet and why it was capitalized.
Reply With Quote
  #6  
Old 09-15-2016, 07:13 AM
Kari Frey Kari Frey is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Novice
Extracting colored cells from one spreadsheet into another
 
Join Date: Sep 2016
Posts: 4
Kari Frey is on a distinguished road
Default

LOL - I just really need an answer!

"Another spreadsheet" is only significant because it's located in a different directory from the original, not just a tab in the same workbook.

The order isn't important, they just all need to be consolidated into 1 column. The original has multiple columns (about 243?) of about 45 rows or less. In the final spreadsheet I just need one column with however many lines it takes to list all of the red cells.

Last edited by Kari Frey; 09-15-2016 at 07:16 AM. Reason: expanded answer
Reply With Quote
  #7  
Old 09-15-2016, 08:41 AM
NoSparks NoSparks is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 831
NoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really niceNoSparks is just really nice
Default

Maybe something like this... you'll need to deal with the things you're not telling us.
Code:
Sub CopyRedValues()

    Dim cel As Range
    Dim writerow As Long

writerow = 2    

For Each cel In Sheets("source sheet name").UsedRange
    If cel.Interior.Color = vbRed Then
        cel.Copy
        destinationworkbook.Sheets("ANOTHER").Range("A" & writerow).PasteSpecial xlValues
        writerow = writerow + 1
    End If
Next cel

Application.ScreenUpdating = True

End Sub
Reply With Quote
  #8  
Old 09-15-2016, 08:48 AM
Kari Frey Kari Frey is offline Extracting colored cells from one spreadsheet into another Windows 7 64bit Extracting colored cells from one spreadsheet into another Office 2010 64bit
Novice
Extracting colored cells from one spreadsheet into another
 
Join Date: Sep 2016
Posts: 4
Kari Frey is on a distinguished road
Default

Thanks so much! I'll massage it and give it a try
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting colored cells from one spreadsheet into another Can I autofill cells using percentages from another spreadsheet? Baldeagle Excel Programming 25 03-24-2016 03:05 AM
Extracting colored cells from one spreadsheet into another autofill cells using percentages from another spreadsheet Baldeagle Excel Programming 1 01-15-2015 01:28 PM
predefine thick border colored lines for highlighted cells dylansmith Excel 0 09-05-2014 07:49 AM
Extracting colored cells from one spreadsheet into another Extracting data from ppt graphs without linked spreadsheet Abol PowerPoint 2 06-27-2013 07:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft