Is it possible to have excel take data from a colored cell (or cells) and display it somewhere else? I've been trying this for some time and I've had no success.
Is it possible to have excel take data from a colored cell (or cells) and display it somewhere else? I've been trying this for some time and I've had no success.
This can be done by macro. Can you provide an example?
Martin
A super-simplified version of my sheet is attached. All I need it to do is to take the values highlighted in each color and display them on another sheet.
Do you need the values to be brought into adjacent cells in the new sheet or just copied in their same relative positions?
If its the latter then the following macro will delete the contents of all cells which do not have a background colour.
You could use this on a copy of your sheet.Sub DeleteIfNotColoured() Dim Cell As Range For Each Cell In Selection If Cell.Interior.Color = 16777215 Then Cell.ClearContents End If Next Cell End Sub
Ideally I need it to take the values in each cell and deposit them onto another sheet in order according to their color, making one row of 'green' and one row of 'blue' values.
Can you supply a before and after example as an attachment for complete clarity?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks