Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / August 2007

Tip: Looking for answers? Try searching our database.

Help Needed - Revised

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RoadKing - 26 Aug 2007 14:13 GMT
Good morning:
This is an example what I am trying to achieve
           Col-A                          Col-C
Row 1: Name                           Address

           Col-A                          Col-C
Row 4: Name Search               Address Search

Note:  The names & address will be hidden below the respective search Col's.

I need to search by name (R-4 / C-A) or by address (R-4 / C-C) and have the
corresponding name & address populate R-1 respectively AND THEN CLEAR THE
SEARCH CELLS LEAVING THE RESULTS IN R-1.  Please keep in mind I am not a
programmer.

Thank you in advance
John
Don Guillett - 26 Aug 2007 14:49 GMT
One way
Sub searchnameoradd()
ans = InputBox("enter name or address")
mr = Columns("o:p").Find(ans).Row
Range(Cells(mr, "o"), Cells(mr, "p")).Copy Range("q1")
End Sub

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Good morning:
> This is an example what I am trying to achieve
[quoted text clipped - 14 lines]
> Thank you in advance
> John

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.