Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default "Find" function question - No code required

I'm trying to use the find function in a macro but form some reason it won't
find anything inserted onto the sheet via a macro.

I'm testing it out with a value i've typed in and a value that's been
inserted into a cell via a macro.

It'll only find the one that's been typed in..........

Is this normal cause its doing my nut in!

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default "Find" function question - No code required

Are you specifying all the parms that go in that .find statement?

If not, then you're inheriting whatever was used right before that line of code
runs--and that could be something your code did, something someone else's code
did, or even what the user did.

So if the user found something and matched entire cell contents, you may not
find your string if wanted xlpart (or match case or ...).

And if there's a chance that the cell is hidden (by an autofilter), try
searching through formulas instead of values.

If none of this helps, share the line of code, the value that you're looking
for, and the range where you're searching.

N1KO wrote:

I'm trying to use the find function in a macro but form some reason it won't
find anything inserted onto the sheet via a macro.

I'm testing it out with a value i've typed in and a value that's been
inserted into a cell via a macro.

It'll only find the one that's been typed in..........

Is this normal cause its doing my nut in!

Thanks in advance


--

Dave Peterson
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
Text "comparison" operator for "contains" used in an "IF" Function Pawaso Excel Worksheet Functions 4 April 4th 23 11:35 AM
"Find" a wildcard as a place marker and "replace" with original va Eric Excel Discussion (Misc queries) 1 January 27th 09 06:00 PM
Question about "Find" function in Edit menu cpayneHTE Excel Discussion (Misc queries) 9 March 19th 08 01:36 PM
"Disk is Full" add-on question to "Can't reset last cell" post tod [email protected] Excel Discussion (Misc queries) 0 January 22nd 07 02:32 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM


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