Windows Thread, Find Macro in Technical; Hi,
I'm trying to write a macro to find a specific cell in Excel.
I am typing the value into ...
-
19th August 2008, 04:05 PM #1
- Rep Power
- 14
Find Macro
Hi,
I'm trying to write a macro to find a specific cell in Excel.
I am typing the value into Cell B9 and want it to search from C15:C300.
However, when i click search it highlights cell B9, which is logical as that is whats its looking for.
The macro i have got so far is:
Sub TESTING2()
Cells.find(What:=Range("B9"), After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Cells.FindNext(After:=ActiveCell).Activate
End Sub
I have tried changing the After section to After:=.Cells(15,3) but still the same.
Any ideas?
Thanks
-
-
IDG Tech News
SHARE:
Similar Threads
-
By My220x in forum Coding
Replies: 2
Last Post: 18th July 2008, 01:43 PM
-
By oyoung in forum Windows
Replies: 0
Last Post: 30th March 2007, 10:27 AM
-
By randle in forum Windows
Replies: 10
Last Post: 9th February 2007, 10:32 AM
-
By steve in forum Educational Software
Replies: 0
Last Post: 16th May 2006, 02:49 PM
-
Replies: 4
Last Post: 4th October 2005, 08:59 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
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