SMB Cooper
Board Regular
- Joined
- Sep 10, 2008
- Messages
- 66
What is the effect if I Dim as Byte a String data type value? I know that it will generate a Type Mismatch error, which can be countered by an Error Handling line.
<o> </o>
I am asking, because the “as Byte” variable executed my macro really fast as compared to when I use the “as String” variable.
<o> </o>
I am currently using the “as String” variable because my limited knowledge with VBA tells me that it is the right procedure… even though it is slow.
<o> </o>
I tried to Google for an answer in vain. Hope that somebody could enlighten me.
<o> </o>
I am asking, because the “as Byte” variable executed my macro really fast as compared to when I use the “as String” variable.
<o> </o>
I am currently using the “as String” variable because my limited knowledge with VBA tells me that it is the right procedure… even though it is slow.
<o> </o>
I tried to Google for an answer in vain. Hope that somebody could enlighten me.