Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Error 2029 using Find XL 97

When using the find code in VB to find text in Excel The range returned is
error 2029..

Where Found is defined as a range..
The code is:

Set Found = look.Find(What:=FindTag(X - 1), LookIn:=xlFormulas,
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=True)

Found gets returned Error 2029.. Which I cannot figure out.. It should
return nothing if it doesn't find it, and the cell of the first occurance if
it does..
ANY HELP WOULD BE GREATLY APPRECIATED!!!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Error 2029 using Find XL 97

..."= look.Find"
Is "look" a valid range?
--
Regards
Rob
"jonnyexcelneill" wrote in
message ...
When using the find code in VB to find text in Excel The range returned is
error 2029..

Where Found is defined as a range..
The code is:

Set Found = look.Find(What:=FindTag(X - 1), LookIn:=xlFormulas,
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=True)

Found gets returned Error 2029.. Which I cannot figure out.. It should
return nothing if it doesn't find it, and the cell of the first occurance
if
it does..
ANY HELP WOULD BE GREATLY APPRECIATED!!!



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 sorting by date after 2029 on Excel 2003 wtchywmn9 Excel Discussion (Misc queries) 1 October 29th 09 05:43 PM
Error dialog box meaning and how to find error Jeanne Excel Worksheet Functions 2 September 4th 08 04:59 AM
how to find an error nastech Excel Discussion (Misc queries) 0 July 12th 06 04:59 AM
help with this error-Compile error: cant find project or library JackR Excel Discussion (Misc queries) 2 June 10th 06 09:09 PM
Error if can't find text S. S. Excel Programming 1 December 11th 03 02:04 PM


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

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

About Us

"It's about Microsoft Excel"