Use Array() Choose() instead of Select or If...Then
When assigning a variable based on a the value of another variable, it makes sense to write out the steps with If...Then checks, like so:
If a = 1 Then
b = "a"
ElseIf a = 2 Then
b = "c"
'...
End If
However, this can take up a lot of code space if there are more than one or two variables to check (there are still generally better ways to do even that anyway).
Instead, the Select Case statement helps reduce the size of the checks by encasing everything in one block, like so:
Select Case a
Case 1:
b = "a"
Case 2:
b = "c"
'...
End Select
This can lead to much smaller code, but for very simple cases such as this, there is an even more efficient method: Choose() This function will pick a value from a list, based on the value passed to it.
b = Choose(a,"a","c",...)
The option to select (a in this case) is an integer value passed as the first argument. All subsequent arguments are the values to choose from (1-indexed, like most VBA). The values can be any data type so long as it matches the variable being set (i.e. objects don't work without the Set keyword) and can even be expressions or functions.
b = Choose(a, 5 + 4, String(7,"?"))
An additional option is to use the Array function to get the same effect while saving another character:
b = Array(5 + 4, String(7,"?"))(a)