#1   Report Post  
David
 
Posts: n/a
Default Find a person

I have a workbook with a column like this:

NAME/CLASS
LASTNAME, FIRSTNAME (student's actual name goes here, all caps and BOLD)
Wellness
WRAP
Picking Up The Pieces
Understanding Your Medications
Understanding Your Symptoms
Anger Management
LIFTT
Supported Employment
Basic Computer
Intermediate Computer
Adult Basic Education
Creative Writing
Sign Language
Total Class Hours

This list repeats many times down the column for different students.

Currently I use Ctrl+F and type the first few letters of the last name to
navigate to a particular student's class group. I'm considering a userform
with a listbox populated with only their names that will make that
navigation easier as the students sign in for each class and they don't do
it in alphabetical order. I have to log each students class attendance
using those signin sheets each day. How could I pull the names only and put
them in my listbox on a so I could click on a name in that list and go to
that student's class range.

I'm not married to the idea of a listbox on a userform if other suggestions
would accomplish the same thing. An input box would not be any easier than
what I'm doing now.

--
David
  #2   Report Post  
ScottO
 
Posts: n/a
Default

It sounds like the Auto Filter would meet your objective.
Select a cell in your database, and go Data/Filter/Auto Filter.
Then select the name you want from the drop-down box at the top of the name column.
Rgds,
ScottO

"David" wrote in message ...
| I have a workbook with a column like this:
|
| NAME/CLASS
| LASTNAME, FIRSTNAME (student's actual name goes here, all caps and BOLD)
| Wellness
| WRAP
| Picking Up The Pieces
| Understanding Your Medications
| Understanding Your Symptoms
| Anger Management
| LIFTT
| Supported Employment
| Basic Computer
| Intermediate Computer
| Adult Basic Education
| Creative Writing
| Sign Language
| Total Class Hours
|
| This list repeats many times down the column for different students.
|
| Currently I use Ctrl+F and type the first few letters of the last name to
| navigate to a particular student's class group. I'm considering a userform
| with a listbox populated with only their names that will make that
| navigation easier as the students sign in for each class and they don't do
| it in alphabetical order. I have to log each students class attendance
| using those signin sheets each day. How could I pull the names only and put
| them in my listbox on a so I could click on a name in that list and go to
| that student's class range.
|
| I'm not married to the idea of a listbox on a userform if other suggestions
| would accomplish the same thing. An input box would not be any easier than
| what I'm doing now.
|
| --
| David


  #3   Report Post  
David
 
Posts: n/a
Default

ScottO wrote

It sounds like the Auto Filter would meet your objective.
Select a cell in your database, and go Data/Filter/Auto Filter.
Then select the name you want from the drop-down box at the top of the
name column. Rgds,
ScottO


I wish it were so, but I have to also have to have access to the class list
for that person once found.

--
David
  #4   Report Post  
David
 
Posts: n/a
Default

David wrote

I'm not married to the idea of a listbox on a userform if other
suggestions would accomplish the same thing.


For now, here's what I did:

Ran Advanced Filter to find unique records in ColA, selected names and
copied to a helper column, set up an autoshape that when clicked ran this
macro after selecting target name in that helper column:

Sub FindName()
Columns("A:A").Find(ActiveCell.Text).Activate
End Sub

If anyone has a better idea, please chime in.

--
David
  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

I'm not sure it's a better idea, but I like to put the key (name/id/something)
on every row. It makes it easier to use data|filter|autofilter, subtotals,
pivottables...

David wrote:

David wrote

I'm not married to the idea of a listbox on a userform if other
suggestions would accomplish the same thing.


For now, here's what I did:

Ran Advanced Filter to find unique records in ColA, selected names and
copied to a helper column, set up an autoshape that when clicked ran this
macro after selecting target name in that helper column:

Sub FindName()
Columns("A:A").Find(ActiveCell.Text).Activate
End Sub

If anyone has a better idea, please chime in.

--
David


--

Dave Peterson


  #6   Report Post  
David
 
Posts: n/a
Default

Dave Peterson wrote

I'm not sure it's a better idea, but I like to put the key
(name/id/something) on every row. It makes it easier to use
data|filter|autofilter, subtotals, pivottables


Thanks. Not sure how I could take advantage of any of those with my current
data and macro (several) structure, though. Never did like the appearance
of subtotals, nor did I ever grasp pivottables.

--
David
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
How do I find the cell address of the 2nd largest of a set? Mr. Snrub Excel Discussion (Misc queries) 4 May 30th 05 12:53 PM
Using the Find tool in EXCEL TK Excel Worksheet Functions 2 February 11th 05 07:51 PM
Excel has a "Find Next" command but no "Find Previous" command. Michael Fitzpatrick Excel Discussion (Misc queries) 2 January 10th 05 11:45 PM
VB Find and Replace Bony_Pony Excel Worksheet Functions 10 December 6th 04 05:45 PM
D Sum or SumIF Jody Excel Worksheet Functions 3 December 3rd 04 11:39 PM


All times are GMT +1. The time now is 02:41 AM.

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"