Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default 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



.



Reply
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
Find Special Characters [email protected] Excel Worksheet Functions 2 November 1st 07 04:43 PM
find special characters Joe Ventre Excel Discussion (Misc queries) 1 July 27th 06 08:07 PM
How do I activate the trial exel 2003 program if it does't find c. Dolores Dueck New Users to Excel 1 January 3rd 05 02:19 AM
Find Cell Value and Activate James Stephens Excel Programming 1 April 27th 04 07:45 PM
Using a Macro to find a value in a range and activate it Travis Excel Programming 4 April 8th 04 08:49 PM


All times are GMT +1. The time now is 01:35 AM.

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

About Us

"It's about Microsoft Excel"