hello all,
i'm try to automate the task of assigning an unique ID based on selection criteria from a combo box. for example i have a combo box that list values: Ants, Bats, and Cats. what i would like to do is have the user select one of the values from the combo box and then access automatically assigns that record an unique ID (in sequential order) with an extension at the end of the ID that corresponds to the first letter of the value selected from the combo box. so for the 23rd ant record the ID would be: 023A. can anyone suggest some VBA code to do this and tell me where to place the code?
thanks everyone
i'm try to automate the task of assigning an unique ID based on selection criteria from a combo box. for example i have a combo box that list values: Ants, Bats, and Cats. what i would like to do is have the user select one of the values from the combo box and then access automatically assigns that record an unique ID (in sequential order) with an extension at the end of the ID that corresponds to the first letter of the value selected from the combo box. so for the 23rd ant record the ID would be: 023A. can anyone suggest some VBA code to do this and tell me where to place the code?
thanks everyone