Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Problem with Find function

Hope some fresh eyes might help! :-)

With this line

Set endCell = ActiveSheet.Range("B15:B19").Find(0, LookIn:=xlValues)

I try to find the value 0 in the range of B15 to B19. I have tried to
enter 0 in both all and either of the 5 cells, but no matter what it
returns Nothing for the varialble endCell.

The range B15:B19 is formatted as number with 2 digits.

Regards
Snedker
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Problem with Find function

No trouble with Excel 2002:

?ActiveSheet.Range("B15:B19").Find(0, LookIn:=xlValues).Address
$B$17

Is this statement in a function rather than a macro? Problems have been
reported using Find within a UDF, mostly with Excel 97.

--

Vasant

"Snedker" wrote in message
...
Hope some fresh eyes might help! :-)

With this line

Set endCell = ActiveSheet.Range("B15:B19").Find(0, LookIn:=xlValues)

I try to find the value 0 in the range of B15 to B19. I have tried to
enter 0 in both all and either of the 5 cells, but no matter what it
returns Nothing for the varialble endCell.

The range B15:B19 is formatted as number with 2 digits.

Regards
Snedker



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
Problem with 'Find' Dave Excel Discussion (Misc queries) 5 December 15th 09 01:27 PM
sum if problem, trying to find best solution shalombi Excel Discussion (Misc queries) 5 May 31st 06 12:57 PM
Find-Replace problem nastech Excel Discussion (Misc queries) 1 February 12th 06 05:18 AM
problem with FIND cjsmith22 Excel Worksheet Functions 3 November 17th 05 11:03 PM
Match Function Problem - Won't Find Certain Numbers PE Excel Discussion (Misc queries) 2 May 9th 05 03:53 PM


All times are GMT +1. The time now is 12:15 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"