|
-
Oct 3rd, 2005, 09:40 AM
#1
[RESOLVED] Error in FindCells
using this:
xls.Cells.Find(What:=SEARCH_STRING, After:=xls.ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext, MatchCase:=False).Activate
You get an error if it cand find it.. how do I trap for this? should I just use a regular error trap? or is there a better way....
Thanks
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Oct 3rd, 2005, 09:49 AM
#2
Re: Error in FindCells
another problem...
When searching.. Excel repeats the "find" if its there! how do I determine that I have looped through all the "finds"??
(Basically I am creating a function that will warn of problems if you change the sheet name... I want to check all sheets to see if that sheet name is referenced in formulas)
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Oct 3rd, 2005, 10:09 AM
#3
Re: Error in FindCells
 Originally Posted by A51gStatic
(Basically I am creating a function that will warn of problems if you change the sheet name... I want to check all sheets to see if that sheet name is referenced in formulas)
How are you changing the sheet names? Unless this is linked files there should be no problem changing the sheet name in functions??
BTW.. Wish you wouldn't use square brackets in your name... messes the quote up..
Danny
Never Think Impossible
If you find my answer helpful then please add to my reputation
-
Oct 3rd, 2005, 12:00 PM
#4
Re: Error in FindCells
External app.. (In VB)
if I change the sheet name? will it fix all the "links?" (wait.. I'll try it! lol)
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Oct 3rd, 2005, 12:04 PM
#5
Re: Error in FindCells
youre right! didnt think it would work if I did it from an external app..
Great!
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|