Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
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
 



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 04:14 AM.


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