Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am looking up text in a table. I have the following code that works if the
text in the active cell matches the text in A1. How can I modify this code so that the A1 range being referenced is on a different worksheet. I'm sure this is pretty simple, but I can't get it right. If ActiveCell.Text = Range("a1").Text Then ActiveCell.Select Thanks, Nicki |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If ActiveCell.Text = Worksheets("Sheet1").Range("a1").Text Then
ActiveCell.Select End If If this post helps click Yes --------------- Jacob Skaria "Nickis" wrote: I am looking up text in a table. I have the following code that works if the text in the active cell matches the text in A1. How can I modify this code so that the A1 range being referenced is on a different worksheet. I'm sure this is pretty simple, but I can't get it right. If ActiveCell.Text = Range("a1").Text Then ActiveCell.Select Thanks, Nicki |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank You!
"Jacob Skaria" wrote: If ActiveCell.Text = Worksheets("Sheet1").Range("a1").Text Then ActiveCell.Select End If If this post helps click Yes --------------- Jacob Skaria "Nickis" wrote: I am looking up text in a table. I have the following code that works if the text in the active cell matches the text in A1. How can I modify this code so that the A1 range being referenced is on a different worksheet. I'm sure this is pretty simple, but I can't get it right. If ActiveCell.Text = Range("a1").Text Then ActiveCell.Select Thanks, Nicki |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Recording Macro - Excel makes reference to a specific cell | Excel Programming | |||
Macro If statement to go to a specific cell in another worksheet | Excel Programming | |||
Macro to cut rows into another worksheet if a cell contains a specific word | Excel Programming | |||
Start relative reference macro from specific cell | Excel Programming | |||
Macro to copy text to a specific cell reference | Excel Programming |