Need Help!! Coding a drop down list 
Author Message
 Need Help!! Coding a drop down list

I am building a spreadsheet for office use. I have roughly 50 drop
down lists on a spreadsheet (Sheet1) that are used for employees. The
corresponding list (input range) of employees are in column "C" on
sheet 2. Every time a new employee comes, or one leaves, I have to
manually change the input range of all the drop down lists. What I
want to do is have a command button on sheet 2 so when the user needs
to add an employee, they can push the command button and an input box
will pop up asking for the name. I then need the code to update all of
the drop down boxes as well as column C, putting the name in ascending
order (alphebetical). I would also need a command button to delete
employees. I would include a sample of the spreadsheet but for
employee confidentiality, I can't. If anyone knows how to accomplish
something like this, your help would be greatly appreciated.(I realize
this is somewhat of a database but Access was unavailable at the time
this was created). Thanks


Tue, 22 Feb 2005 07:50:05 GMT  
 Need Help!! Coding a drop down list
I am building a spreadsheet for office use. I have roughly 50 drop
down lists on a spreadsheet (Sheet1) that are used for employees. The
corresponding list (input range) of employees are in column "C" on
sheet 2. Every time a new employee comes, or one leaves, I have to
manually change the input range of all the drop down lists. What I
want to do is have a command button on sheet 2 so when the user needs
to add an employee, they can push the command button and an input box
will pop up asking for the name. I then need the code to update all of
the drop down boxes as well as column C, putting the name in ascending
order (alphebetical). I would also need a command button to delete
employees. I would include a sample of the spreadsheet but for
employee confidentiality, I can't. If anyone knows how to accomplish
something like this, your help would be greatly appreciated.(I realize
this is somewhat of a database but Access was unavailable at the time
this was created). Thanks


Tue, 22 Feb 2005 07:51:43 GMT  
 Need Help!! Coding a drop down list
Use dropdowns from the forms toolbar or use Data=>Validation with the List
option

then define a dynamic range for your source data

Insert=>Name=>Define

Name:  Employees

RefersTo:  =Offset(Sheet2!$C$1,0,0,Countif(Sheet2!$C:$C,"<>"),1)

Then click the Add button

Now for your source data for the controls put in

=Employers

This should update automatically when you add and delete cells.

This doesn't work well with controls from the control toolbox toolbar.

Regards,
Tom Ogilvy


Quote:
> I am building a spreadsheet for office use. I have roughly 50 drop
> down lists on a spreadsheet (Sheet1) that are used for employees. The
> corresponding list (input range) of employees are in column "C" on
> sheet 2. Every time a new employee comes, or one leaves, I have to
> manually change the input range of all the drop down lists. What I
> want to do is have a command button on sheet 2 so when the user needs
> to add an employee, they can push the command button and an input box
> will pop up asking for the name. I then need the code to update all of
> the drop down boxes as well as column C, putting the name in ascending
> order (alphebetical). I would also need a command button to delete
> employees. I would include a sample of the spreadsheet but for
> employee confidentiality, I can't. If anyone knows how to accomplish
> something like this, your help would be greatly appreciated.(I realize
> this is somewhat of a database but Access was unavailable at the time
> this was created). Thanks



Tue, 22 Feb 2005 09:49:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. unbound drop-down list box to limit the values in another drop-down list box

2. Help me w/ coding a drop-down list?

3. Newbie Needs Help With Setting Up A New Drop Down List

4. need help linking drop down list to second sheet

5. Need Help defaulting a Drop Down List Box

6. help needed with drop down lists

7. Need Help defaulting a Drop Down List Box

8. Excel rookie need help with drop down lists

9. drop down list w/out drop down box

10. Coding a drop-down list, working w/ touch-sensitive monitor


 
Powered by phpBB® Forum Software © phpBB Group