I have this code which is attached to the form, to help me idendify what columns the user should sort by. One problem, if you select a header in 'cbosort1' ideally it shouldn't come up when you go to 'cbosort2' could someone please guide me ?
There are 6 cbosort option but to give you the idea it is as follows for the first 2
With cbosort1
.AddItem "Booking Number"
.AddItem "Client Name"
.AddItem "Nights"
.AddItem "Status"
.AddItem "Supplier Code"
.AddItem "Arrival Date"
.AddItem "Supplier Name"
.AddItem "City"
.AddItem "Source"
.AddItem "Pg 2 Bkg Date"
End With
With cbosort2
.AddItem "Booking Number"
.AddItem "Client Name"
.AddItem "Nights"
.AddItem "Status"
.AddItem "Supplier Code"
.AddItem "Arrival Date"
.AddItem "Supplier Name"
.AddItem "City"
.AddItem "Source"
.AddItem "Pg 2 Bkg Date"
End With
There are 6 cbosort option but to give you the idea it is as follows for the first 2
With cbosort1
.AddItem "Booking Number"
.AddItem "Client Name"
.AddItem "Nights"
.AddItem "Status"
.AddItem "Supplier Code"
.AddItem "Arrival Date"
.AddItem "Supplier Name"
.AddItem "City"
.AddItem "Source"
.AddItem "Pg 2 Bkg Date"
End With
With cbosort2
.AddItem "Booking Number"
.AddItem "Client Name"
.AddItem "Nights"
.AddItem "Status"
.AddItem "Supplier Code"
.AddItem "Arrival Date"
.AddItem "Supplier Name"
.AddItem "City"
.AddItem "Source"
.AddItem "Pg 2 Bkg Date"
End With