A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"Find" function question - No code required



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2009, 03:42 PM posted to microsoft.public.excel.misc
N1KO
external usenet poster
 
Posts: 17
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  
Old May 6th, 2009, 03:59 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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