ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find a cell with a special value and activate it (https://www.excelbanter.com/excel-programming/325307-find-cell-special-value-activate.html)

Mirja

Find a cell with a special value and activate it
 
Hello!

I'd like to do the following:

Get a date from a different workbook (which is given in
cell A9) and then find the date in my workbook in Row "1"
and activate the cell.

Can anybody help? Thank you!

Mirja


Bob Phillips[_6_]

Find a cell with a special value and activate it
 

Dim oCell As Range

Set oCell = Rows(1).Find(Range("A9").Value)
If Not oCell Is Nothing Then
oCell.Select
End If


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mirja" wrote in message
...
Hello!

I'd like to do the following:

Get a date from a different workbook (which is given in
cell A9) and then find the date in my workbook in Row "1"
and activate the cell.

Can anybody help? Thank you!

Mirja




Mirja

Find a cell with a special value and activate it
 
Many thanks!!

Mirja


-----Original Message-----

Dim oCell As Range

Set oCell = Rows(1).Find(Range("A9").Value)
If Not oCell Is Nothing Then
oCell.Select
End If


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mirja" wrote in

message
...
Hello!

I'd like to do the following:

Get a date from a different workbook (which is given in
cell A9) and then find the date in my workbook in

Row "1"
and activate the cell.

Can anybody help? Thank you!

Mirja



.


Bob Phillips[_6_]

Find a cell with a special value and activate it
 
my pleasure.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mirja" wrote in message
...
Many thanks!!

Mirja


-----Original Message-----

Dim oCell As Range

Set oCell = Rows(1).Find(Range("A9").Value)
If Not oCell Is Nothing Then
oCell.Select
End If


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mirja" wrote in

message
...
Hello!

I'd like to do the following:

Get a date from a different workbook (which is given in
cell A9) and then find the date in my workbook in

Row "1"
and activate the cell.

Can anybody help? Thank you!

Mirja



.





All times are GMT +1. The time now is 02:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com