Hi,
I am fairly new to VBA and im sorry if it seems a simple question,
I have created a userform of which the user fills in and it can be submitted, the data is applied to the spreadsheet as it is submitted.
However I have a button of which when I press it i would like it to read the spreadsheet e.g. Column A named "Ref" and look at the next unique reference number that can be generated and place it into a text box named "hpin" on the userform for submitting.
My references should go as follows
e.g. HP/IN/0001
HP/IN/0002
and so on
I really hope that makes sense and if you can help please do so
Thank you so much
L.
I am fairly new to VBA and im sorry if it seems a simple question,
I have created a userform of which the user fills in and it can be submitted, the data is applied to the spreadsheet as it is submitted.
However I have a button of which when I press it i would like it to read the spreadsheet e.g. Column A named "Ref" and look at the next unique reference number that can be generated and place it into a text box named "hpin" on the userform for submitting.
My references should go as follows
e.g. HP/IN/0001
HP/IN/0002
and so on
I really hope that makes sense and if you can help please do so
Thank you so much
L.