![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a form which is quite huge. Is there anyway I can add a search engine to my form where the user would search for an account number, find the row where the account number is and make any necessary amendments??
Thanks |
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Would the Autofilter function work OK for you?
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 35
|
I don't know if it would work - as I am not well versed in this Visual Basic- Could you tell me what it would do?
Carol |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
On Menu
Data > Filter > AutoFilter
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
The following code searches for a variable called AccountNumber and activates the cell:
Cells.Find(What:=AccountNumber, After:=Range("A1"),LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByColumns,SearchDirection:=xlNext, MatchCase:=False).Activate I hope this helps. Kind regards, Al. |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
It's not a visual basic function
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: Cape Town,South Africa
Posts: 234
|
Hello there from
Ò¿Ó⌐ Suggest you use the autofilter function my friend |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|