LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Lookup Cell Interior

I am currently using the vlookup function to find values on another sheet
('Previous Report') associated with data on the current sheet and to transfer
any matching results to the first sheet, (working with no problems).

How can i extend this so that as well as transfering any matching data the
interior color for the cell is also 'copied' over to the current sheet.


rangecheck = Range("A8")
Range("L8").Select

Do Until rangecheck = ""
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-11],'Previous Report'!C[-11]:C[-1],11,0)"
If IsError(ActiveCell) Then
ActiveCell = ""
End If
ActiveCell.Offset(1, 0).Select
rangecheck = ActiveCell.Offset(0, -11)
Loop

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RGB for cell interior Zone Excel Programming 6 July 10th 06 02:30 PM
RGB value of cell interior Brotha lee Excel Programming 8 May 20th 05 12:47 AM
Finding Cell Interior Colour of First Cell in Column ExcelMonkey[_190_] Excel Programming 4 March 22nd 05 03:01 AM
Conditional Format with VBA - Interior Colour of cell based on value from in-cell dropdown Steve[_52_] Excel Programming 5 June 15th 04 11:45 AM
Help!! Instead of Conditional Formatting, pull interior color from lookup bhumvee Excel Programming 0 June 1st 04 05:21 PM


All times are GMT +1. The time now is 08:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"