Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Windows

Windows forum sponsored by

For all of your Windows problems

Go Back   EduGeek.net Forums > Technical > Windows
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 19-08-2008, 04:05 PM   #1
 
karldenton's Avatar
 
Join Date: Apr 2007
Location: York
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0 karldenton is an unknown quantity at this point
Default 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
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run a macro when you open the word document My220x Coding 2 18-07-2008 01:43 PM
help with excel macro needed oyoung Windows 0 30-03-2007 10:27 AM
Macro and VBA functions randle Windows 10 09-02-2007 10:32 AM
Excel Macro - Edexcel GCE Exams steve Educational Software 0 16-05-2006 02:49 PM
Macro Security Ric_ Windows 4 04-10-2005 08:59 AM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 12:03 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net