Hello everyone,
I'm need to populate an array via VBA with unique numbers between 2 and a number input by users of my form. I've tried searching and to tell the truth got tired. Please help this newbie.
Thanks
Kingali
Hello everyone,
I'm need to populate an array via VBA with unique numbers between 2 and a number input by users of my form. I've tried searching and to tell the truth got tired. Please help this newbie.
Thanks
Kingali
Try this :-
The Results are posted to column "C" (via the "Dic.Keys" array) and the Array size is determined by "Textbox1".
Regards MickPlease Login or Register to view this content.
Last edited by MickG; 04-18-2013 at 08:25 AM.
Hi Mick,
Thanks for the quick reply.
I'm currently testing your code in my VBA form.
I'll let you know how it works.
Regards
Kingali
Hi Mick,
your code works great, once I figured out where to subsitute the user inputs.
Thanks for the help.
Regards
Kingali
Hi Mick,
Your code works great, once I figured out where to subsitute the user inputs.
This is how I have it working:
I guess that if I changed the number "2" then the lower limit will change?Please Login or Register to view this content.
P.S. Moderator i'm not sure how to mark this as solved.
Thanks for the help.
Regards
Kingali
Last edited by Kingali; 04-18-2013 at 12:06 PM.
Ref:- lower limit, you thoughts are correct.
For Showing "Solved" see "Forum Rules" at top of sheet.
Thanks for FeedBack
Regrds Mick
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks