PDA

View Full Version : Solved: C Like strucutres in VBA



skawky
05-10-2005, 12:23 PM
I need to have two 2D arrays returned from a function.. the arrays are currently declared as follows:

Dim questionAreas(1 To 5, 1 To 11) As Integer
Dim correctAnswers(1 To 5, 1 To 11) As Integer

Does VBA offer anything similar to struct's in C to accomplish this?

Thanks,
Skawky

fumei
05-10-2005, 12:30 PM
Yes. Look up Array in Help.

skawky
05-10-2005, 12:31 PM
Okay.. :)

I don't know why I didn't think of putting them into an array.. thanks

Skawky

fumei
05-10-2005, 12:33 PM
No problem.