Hi All
I have the following lines of code
How can I reference the above in a loop such asPlease Login or Register to view this content.
Please Login or Register to view this content.
Hi All
I have the following lines of code
How can I reference the above in a loop such asPlease Login or Register to view this content.
Please Login or Register to view this content.
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
You can't ... at least not in VBA as it doesn't support runtime evaluation of variables by name.
Hi cytop
Darn so how can I reference in a loop or must it be done individually.
Am trying to assist in this link:
https://www.excelforum.com/excel-pro...rate-cell.html
Last edited by sintek; 04-14-2017 at 10:44 AM.
Use an array.
Please Login or Register to view this content.
If posting code please use code tags, see here.
Thanks Norie....that will come in handy
Norie, How do i reference arrNum(c + 1) ' or next array meaning
i mean if there are 3 arrays
What I mean is if in the array loop I want to Do something until the value in A and next row = next array
Not to worry, got it thanks arrNum(c + 1)
If you put the code in "object based" module (sheet module, workbook module, class module, userform module) (not in "object-less" module a.k.a. standard module), you can define the variables as public at module declaration, then you can call these variables using callbyname() method :
Please Login or Register to view this content.
1. I care dog
2. I am a loop maniac
3. Forum rules link : Click here
3.33. Don't forget to mark the thread as solved, this is important
Great, thanks karedog, that's gonna come in handy.
You are welcome, glad I can help.
Regards
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks