Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need suggestions. I have a multipage userform. On the last page of the
form, there are several textboxes (more than 25). The contents of these textboxes are page numbers for a presentation. What is the best way to prevent duplicates from being entered? I thought at first that I could cycle through all of the controls on the page, then check to see if the control was a textbox, then compare that value to the current textbox value. A few problems are apparent with that thought - first, control.value is not available in VBA. Second, I would have to write code for each textbox afterupdate event. I need help figuring something out. Any ideas out there? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Instead of text boxes, would it be possible to have 2 list boxes, one on
the left and one on the right? The one on the left would list all available (or valid) page numbers, and the one on the right would list selected page numbers. In between both list boxes, put 2 buttons, one to "Add" a selected item in the left list box to the right list box, and one to "Remove" a selected item from the right list box. Also, you could have 2 more buttons to the right of the right list box to "Move Up" and "Move Down" a selected item in the right list box (i.e. so the right list box could contain a list of page numbers out of order like 3, 7, 5, 8, etc.). -- Regards, Bill Renaud |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prevent duplicate entries in Excel 2000 | Excel Discussion (Misc queries) | |||
HOW CAN I PREVENT DUPLICATE ENTRIES WITHIN A WORKBOOK, i.e. job # | Excel Discussion (Misc queries) | |||
Prevent Duplicate Validation List Entries | Excel Programming | |||
Blank entries on multipage userform | Excel Programming | |||
Prevent duplicate entries | Excel Worksheet Functions |