I have the following code that works OK
Now I want to make the code dynamic and want to replace: Case “701”, “702”
With: Case strCPRevCodes ‘”701″, “702”
The above statement does not work, what am I doing wrong?
Thanks, John
Dim strCPRevCodes As String strCPRevCodes = GetPref("Default CP Revenue Code") MsgBox "strCPRevCodes: " & strCPRevCodes