Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Drop Down Box to Display range

I have timesheets for 20 member of staff listed in forms one below another on
one sheet which they fill in weekly. I would like to have a drop down box at
the top of the sheet which the member of staff clicks on and then it displays
the one relevant timesheet rather than them having to scroll down. How do I
do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Drop Down Box to Display range

Why not have a separate sheet for each staff member, named after them, easy
to find.

--
__________________________________
HTH

Bob

"VanessaY" wrote in message
...
I have timesheets for 20 member of staff listed in forms one below another
on
one sheet which they fill in weekly. I would like to have a drop down box
at
the top of the sheet which the member of staff clicks on and then it
displays
the one relevant timesheet rather than them having to scroll down. How do
I
do this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Drop Down Box to Display range

have a table of your staff members names. then use a hyperlink on each name
to take them to the relevent timesheet


"VanessaY" wrote in message
...
I have timesheets for 20 member of staff listed in forms one below another
on
one sheet which they fill in weekly. I would like to have a drop down box
at
the top of the sheet which the member of staff clicks on and then it
displays
the one relevant timesheet rather than them having to scroll down. How do
I
do this?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Drop Down Box to Display range

If you need the 20 forms on one sheet try this.

In L1 create a DV dropdown with the source being a list of your 20 staff
members.

Freeze row 1 so's the DV dropdown is always accessible.

Copy this event code to your sheet module. Right-click on sheet tab and
"View Code" then paste.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$L$1" And Target.Value < "" Then
On Error GoTo stoppit
Application.EnableEvents = False
With Me.Columns("A")
Set c = .Find(Target.Value, LookIn:=xlValues, lookat:=xlWhole, _
MatchCase:=False)
ActiveWindow.ScrollRow = c.Row
End With
End If
stoppit:
Application.EnableEvents = True
End Sub

Assumes column A is where your member names would reside.........edit to
suit.


Gord Dibben MS Excel MVP

On Thu, 18 Jun 2009 06:01:01 -0700, VanessaY
wrote:

I have timesheets for 20 member of staff listed in forms one below another on
one sheet which they fill in weekly. I would like to have a drop down box at
the top of the sheet which the member of staff clicks on and then it displays
the one relevant timesheet rather than them having to scroll down. How do I
do this?


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 to Display 12.5 but not 25.0 (drop .0s) Originalgoth Excel Discussion (Misc queries) 5 January 15th 10 11:25 PM
In-Cell Drop down does not display FlyRod Excel Discussion (Misc queries) 5 February 25th 09 08:26 AM
Drop-Downs - Display another value Send Object Command - Two attachments Excel Discussion (Misc queries) 1 March 28th 07 10:18 AM
Display values in a drop down in range nir020 Excel Programming 0 November 24th 06 03:49 PM
Drop-Down List does not display choices Bill Freeze Excel Discussion (Misc queries) 1 June 14th 05 03:31 PM


All times are GMT +1. The time now is 10:28 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"