What's the "#" in VBA dimensions?

G

Gregg

I'm seeing the "#" in my recorded macros when working with dimensions.
It seems to mean "even" or no decimals. Is that correct? Just curious.
Thanks.
 
S

Shyam Pillai

It's actually the type declaration for value.

# denotes Double floating point value
?Typename(1#)
Double

! denotes Single floating point value
?Typename(1!)
Single

?Typename(1)
Integer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top