Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,071
Default removing drop down option after its been selected

Place this macro in the sheet module of the sheet you are using. I assumed
the Data Validation cell is C1 and the list is in Column A starting with A1.
The list must be named "TheList". If your list is located in some other
sheet, preface the line that starts with Range("TheList").Find with
Sheets("SheetName"). like this:
Sheets("SheetName").Range("TheList").Find..... HTH Otto

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count 1 Then Exit Sub
If Not Intersect(Target, Range("C1")) Is Nothing Then
Range("TheList").Find(What:=Target.Value, LookAt:=xlWhole). _
Delete Shift:=xlUp
Range("A1", Range("A" & Rows.Count).End(xlUp)).Name = "TheList"
End If
End Sub
"bbennett2" wrote in message
...
I have a drop down menu with a list of 100 items. I have it set up that
at
the end of each day. a coworker can go into the spreadsheet and pull from
the
drop down menu and select if they have used any of the 100 items. Is
there
any way to make it so that once a particular item has been selected from
the
drop down menu, that it no longer shows up as an option?



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
Removing Mail to: hyperlink option ABI Excel Discussion (Misc queries) 1 June 4th 07 12:34 PM
Cells Not Calculating - Calc Option Selected Adam Hollerbach Excel Discussion (Misc queries) 2 February 13th 07 07:05 PM
Forms Option Buttons(Can be right mouse selected when sheet is loc Newbeetle Excel Discussion (Misc queries) 2 February 10th 07 04:12 PM
Format drop down option won't open on selected cells Ron West Excel Discussion (Misc queries) 1 October 12th 06 09:36 PM
Option Button - multiple selected alanap Excel Worksheet Functions 1 April 17th 06 11:04 PM


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