If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Creating a "picklist"?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-04, 09:13
palto1 palto1 is offline
Registered User
 
Join Date: Mar 2004
Posts: 68
Creating a "picklist"?

Hello, is there a way to create a "picklist" in Excel so that only certain values may be entered? (Like you do in Access).

Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-09-04, 09:24
harg7769 harg7769 is offline
Registered User
 
Join Date: Mar 2004
Location: Glasgow
Posts: 8
Pick lists

The following is cut and pasted directly from the Excel help files.

Andrew H

Type the entries for the dropdown list in a single column or row. Do not include blank cells in the list.
If you type the list on a different worksheet from the data entry cell, define a name for the list.

How?

Select the cell, range of cells, or nonadjacent selections that you want to name.
Click the Name box at the left end of the formula bar .


Name box

Type the name for the cells.
Press ENTER.
Note You cannot name a cell while you are changing the contents of the cell.

If you type the list in a different workbook, define a name with an external reference to the list.

How?

Open the workbook that contains the list of dropdown entries.
Open the workbook where you want to validate cells, point to Name on the Insert menu, and then click Define.
In the Names in workbook box, type the name.
In the Refers to box, delete the contents, and keep the insertion pointer in the box.
On the Window menu, click the name of the workbook that contains the list of dropdown entries, and then click the worksheet that contains the list.
Select the cells containing the list.
In the Define Name dialog box, click Add, and then click Close.
Select the cell where you want the dropdown list.
On the Data menu, click Validation, and then click the Settings tab.
In the Allow box, click List.
If the list is in the same worksheet, enter a reference to your list in the Source box.
If the list is elsewhere, enter the name you defined for your list in the Source box.

Make sure the reference or name is preceded with an equal sign (=).

Make sure the In-cell dropdown check box is selected.
Specify whether the cell can be left blank: Select or clear the Ignore blank check box.
To display optional input instructions when the cell is clicked, click the Input Message tab, make sure the Show input message when cell is selected check box is selected, and then fill in the title and text for the message.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On