Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I've got a handful of issues to work through with a particular project
I'm working on but let's start with the first: reordering part of a list with VBA. I have a list on a hidden tab (let's be adventurous and call it the "List" tab) which prepopulates a drop-down list for data entry on another tab (the "Entry" tab, shocking!). However, a user has the option of entering a value not on the drop-down menu, if need be. I've got a Worksheet_Change function that will append this new value to the bottom of the list, which of course means it now appears on the drop- down menu. So far, so good, except I would like to resort the list by alpha after appending the new record. "Aha! Easy!" you say, but not so fast. There's a catch - I always want two values ("N/A" and "<Enter New Item") to be at the very bottom of the menu. Sooooo, how do I take a list, append a record to it, and then resort it, except the records that were formerly the last and second-to-last - so as to keep them at the bottom of the new list? I can come up some brilliantly convoluted ways of doing this, but hopefully there's something simpler. Thanks! ..o. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reordering dates in worksheet for charting | Excel Discussion (Misc queries) | |||
Reordering a List in Numerical Order | Excel Worksheet Functions | |||
Count if criteria is part of list | Excel Discussion (Misc queries) | |||
Reordering Bars in Bar Graphs | Charts and Charting in Excel | |||
Drop down list as part of a file name selector | Excel Discussion (Misc queries) |