padlocked17
Registered User.
- Local time
- Yesterday, 20:04
- Joined
- Aug 29, 2007
- Messages
- 275
All,
I have a function that pulls in 12 arguments named Jan_ACC through Dec_ACC as variants.
I want my VBA to be able to build and reference the argument in an If/Else statement.
Basically I want to be able to reference the argument by doing something similar to below:
Any ideas how I can pull this off?
I have a function that pulls in 12 arguments named Jan_ACC through Dec_ACC as variants.
I want my VBA to be able to build and reference the argument in an If/Else statement.
Basically I want to be able to reference the argument by doing something similar to below:
Code:
MonthName(Month(Date), True) & "_ACC"
Any ideas how I can pull this off?