Hi
I am trying to generate a random unique number with the following code. The MAX value will be dependant on the number of used rows in another worksheet so Iv tried to allow for this as you can see in the code below.
The problem I have is I'm getting a Compile Error: Constant Expression required.
Iv looked through Google but to be honest a lot of it is over my head.
Could someone help me out please?
![]()
Please Login or Register to view this content.
Bookmarks