jab4743
6 years agoContributor
How do I dynamically call an Aliases item?
How do I dynamically call an Aliases item?
For example, I have Aliases.Window1 and Aliases.Window2. I want to create a Function where I can call either Window1 or Window2.
Function call_aliases(AliasesName)
Dim tempaliases
tempaliases = Aliases.AliasesName
End function
How do I declare the Aliases item and not have the function see Aliases.AliasesName as a string?