|
-
Mar 27th, 2007, 12:08 PM
#1
Thread Starter
Lively Member
[RESOLVED] assign variable to array size
HI,
I have done this in VB6 but it is possible to assign a variable created to an array size in VBA?
Say'
Dim maxtblApproverRecords As Integer
maxtblApproverRecords = 7
Dim approverNames(maxtblApproverRecords - 1) As Variant
It keeps getting me "constant expression expected". How do I do it otherwise?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|