I keep reading that Excel VBA: Module names are limited to 255 characters. But, after having some trouble with Module names, I did some testing. Per my empirical testing on both 32-bit and 64-bit installations of Excel, I observe that:
Excel VBA: Module names are limited to 31 characters.
IF a "character" is 8 bits, which would be common in many systems, then:31 characters is 248 bits and 32 characters is 256 bits. So, if the real limit is 255 bits then 31 characters would work and 32 characters would not work.
Here are the names that I tested:
A234567890123456789012345678901
A2345678901234567890123456789012
Might this be the case? I've not found any mention of this possibility including using ChatGPT 4.0.
Excel VBA: Module names are limited to 31 characters.
IF a "character" is 8 bits, which would be common in many systems, then:31 characters is 248 bits and 32 characters is 256 bits. So, if the real limit is 255 bits then 31 characters would work and 32 characters would not work.
Here are the names that I tested:
A234567890123456789012345678901
A2345678901234567890123456789012
Might this be the case? I've not found any mention of this possibility including using ChatGPT 4.0.