Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 273
Default search function


I have a list of 500 movies and i want to have a "search" box to search my
list for a specific movie by entering a partcial name.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default search function


hi
Ctrl+f will bring up the find box.
or click on the icon that looks like a pair of binoculars.
or on the 2003 menu bar....
editfind.

regards
FSt1

"Gary" wrote:

I have a list of 500 movies and i want to have a "search" box to search my
list for a specific movie by entering a partcial name.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default search function


You could get more than one movie that way, but try this. Assuming the
movie name is "Casablanca" and the list is in column A.

Sub getit()
lr = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row
Set rng = Range("A2:A" & lr)
For Each c In rng
If c.Value Like "*blanc*" Then
MsgBox "The movie is " & c.Value
Exit For
End If
Next
End Sub





"Gary" wrote in message
...
I have a list of 500 movies and i want to have a "search" box to search my
list for a specific movie by entering a partcial name.



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
Search function Calvinnie Excel Worksheet Functions 1 June 27th 08 01:31 AM
Search function andre guerreiro Excel Worksheet Functions 3 August 4th 06 10:31 PM
SEARCH function jcastellano Excel Worksheet Functions 5 April 3rd 06 03:53 PM
Search function se01rw Excel Discussion (Misc queries) 1 February 13th 06 02:06 PM
Search Function.. Jadziah New Users to Excel 0 December 12th 05 06:38 PM


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

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

About Us

"It's about Microsoft Excel"