vba dim according to dynamic variable type code example Example: vba dim multiple variables Dim a As Single, b As Single, c As Single