Hello all.
Please help me to know how i can access to the value of a variable implicitly.
Assume i have many variables and i don't want to initialize them one by one with their name such as:
CustomerJack=10 00
I have a function PName() that returns the name of variables and i want to use this names to access to the related variables.
For example: PName(Jack) returns "CustomerJa ck" and I'm looking for a method to initialize the variable named "CustomerJa ck" !I used this enhancement earlier in C++ with pointers and "*" operator but in VBA I don't know any way similar.
Thanks in advanced
Please help me to know how i can access to the value of a variable implicitly.
Assume i have many variables and i don't want to initialize them one by one with their name such as:
CustomerJack=10 00
I have a function PName() that returns the name of variables and i want to use this names to access to the related variables.
For example: PName(Jack) returns "CustomerJa ck" and I'm looking for a method to initialize the variable named "CustomerJa ck" !I used this enhancement earlier in C++ with pointers and "*" operator but in VBA I don't know any way similar.
Thanks in advanced
Comment