Hello Guys,
I am trying to create an ID based on the first 4 characters of an input. However, I would like to add a number to it each time starting with 1. How can I do that?
Here is what I have so far
I am trying to create an ID based on the first 4 characters of an input. However, I would like to add a number to it each time starting with 1. How can I do that?
Here is what I have so far
Code:
'Get the new Provider name
strNewProvider = InputBox("Please type a new Provider Name", "New Provider")
'Create the ID with the Left function
strCreateID = Left(strNewProvider, 4)
strCreateID = strCreateID