Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Creating a Search Engine in Excel using a Macro

Say you are looking for "happiness"

Sub where_is_happiness()
s = "happiness"
Set where = Nothing
For Each r In ActiveSheet.UsedRange
If r.Value = s Then
If where Is Nothing Then
Set where = r
Else
Set where = Union(where, r)
End If
End If
Next
If where Is Nothing Then Exit Sub
where.Select
End Sub
--
Gary''s Student - gsnu200832


"Robert" wrote:

Does anyone know how to create a search engine (similiar to the find
function) in which a person can type in data in a specific cell and the macro
would take the the person to anything that contains those words?

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
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Excel Worksheet Functions 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Links and Linking in Excel 0 March 8th 07 04:08 AM
Help with creating a search engine in excel vba Zigball Excel Discussion (Misc queries) 5 October 20th 06 01:14 AM
Help with creating a search engine in excel vba Zigball Excel Worksheet Functions 5 October 20th 06 01:14 AM
Help with creating a search engine in excel vba Zigball Excel Programming 3 October 19th 06 09:25 PM


All times are GMT +1. The time now is 04:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"