Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to get a list box to run in form6. I am going over 2000 rows of
information and I don't want the mix types duplicated. I want to have the no dupes run on Column B26 to B2500. I am using this macro and when it runs I get an error 70 "Permission denied". I would appreciate it if someone could help....Thank you in advance. Here is the macro: Sub startLast4() sheets("test database").unprotect ~~~ this is where the information is in Column B Dim allcells As Range, cell As Range Dim nodupes As New Collection On Error Resume Next For Each cell In Range("B27:B2500") nodupes.Add cell.Value, CStr(cell.Value) Next cell On Error GoTo 0 For Each Item In nodupes UserForm6.ListBox1.AddItem Item Next Item UserForm6.Show End Sub Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup & sum? or maybe summing dupes? | Excel Discussion (Misc queries) | |||
macro for dupes | Excel Discussion (Misc queries) | |||
Checking for Dupes | Excel Discussion (Misc queries) | |||
Marking Dupes | Excel Programming | |||
No permit dupes in listbox... | Excel Programming |