Joel, You can Dim with a constant, but not with a variable: http://url123.com/b2udp You can of course ReDim with a variable, and according to Dino Esposito, you can *create* an array with ReDim and bypass Dim entirely: http://url123.com/b3743 Cheers, Peter -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel D Canfield Why does this Dim aryPlanIDs(intCount) result in an 'expected constant' error, while Dim aryPlanIDs() ReDim aryPlanIDs(intCount) seems to work fine? joel