TechTalk – Excel VBA : Datatype Long

Learnt something new today.
The two sets of VBA code mean the same thing.
The ampersand (&) type-declaration character represents a Long.
Cool ain’t it?

Dim x as Long
x = ActiveSheet.UsedRange.Rows.Count

Or

Dim x&
x = ActiveSheet.UsedRange.Rows.Count