I quote from VBA help: “Byte variables are stored as single, unsigned, 8-bit (1-byte) numbers ranging in value from 0 to 255.” If that is the case, why when I run the following code do I get an overflow at bteA = 255?
Dim bteA as Byte
For bteA = 32 To 255
‘ My Code Here
Next bteA
I can understand getting an overflow at 256, but not at 255. Is this just one of those things?
Yours, puzzled,
Brooke