Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
How can I copy the value (Which is a number formatted in "Special Codigo Postal") from sheet1 cell F9. Goto sheet2 and Find that value in Column A then Highlight that Row Thanks in advance Dave |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Right click Sheet 2 sheet tab, view code and paste this in and run it Sub stance() Dim myrange As Range lastrow = Cells(Cells.Rows.Count, "A").End(xlUp).Row Set myrange = Range("A1:A" & lastrow) For Each c In myrange If c.Text = Sheets("Sheet1").Range("F9").Text Then c.EntireRow.Interior.ColorIndex = 4 End If Next End Sub Mike "DaveM" wrote: Hi How can I copy the value (Which is a number formatted in "Special Codigo Postal") from sheet1 cell F9. Goto sheet2 and Find that value in Column A then Highlight that Row Thanks in advance Dave |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mike
Thanks for your reply My apologizes I should of said "Select the row" when it finds the cell value Dave "Mike H" wrote in message ... Hi, Right click Sheet 2 sheet tab, view code and paste this in and run it Sub stance() Dim myrange As Range lastrow = Cells(Cells.Rows.Count, "A").End(xlUp).Row Set myrange = Range("A1:A" & lastrow) For Each c In myrange If c.Text = Sheets("Sheet1").Range("F9").Text Then c.EntireRow.Interior.ColorIndex = 4 End If Next End Sub Mike "DaveM" wrote: Hi How can I copy the value (Which is a number formatted in "Special Codigo Postal") from sheet1 cell F9. Goto sheet2 and Find that value in Column A then Highlight that Row Thanks in advance Dave |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Got it
c.EntireRow.Select Thanks Mike "DaveM" wrote in message . uk... Hi Mike Thanks for your reply My apologizes I should of said "Select the row" when it finds the cell value Dave "Mike H" wrote in message ... Hi, Right click Sheet 2 sheet tab, view code and paste this in and run it Sub stance() Dim myrange As Range lastrow = Cells(Cells.Rows.Count, "A").End(xlUp).Row Set myrange = Range("A1:A" & lastrow) For Each c In myrange If c.Text = Sheets("Sheet1").Range("F9").Text Then c.EntireRow.Interior.ColorIndex = 4 End If Next End Sub Mike "DaveM" wrote: Hi How can I copy the value (Which is a number formatted in "Special Codigo Postal") from sheet1 cell F9. Goto sheet2 and Find that value in Column A then Highlight that Row Thanks in advance Dave |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I find a cell with vlookup formula on sheet | Excel Worksheet Functions | |||
Find Same Cell... Different Sheet??? | Excel Discussion (Misc queries) | |||
Find from Textbox and Paste into Cell on sheet one | Excel Programming | |||
How do i find the last cell range in a sheet | Excel Programming | |||
How to find first and last cell in a Sheet with an entry | Excel Programming |