TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dinesh Santhalingam
NA
737
370.5k
How to create multiple arrays dynamically in VBA
May 12 2017 3:42 AM
I need to create Multiple arrays to store my values .Can anyone please give me the solution?
For
i
=
1
To 6
Dim oFirst_family As MaterialFamily
Dim ifno As Integer
ifno
= i
Set
oFirst_family
=
cFamilies_list
.Item(ifamily_no)
Dim sFamilyName As String
sFamilyName
=
oFirst_family
.Name
MsgBox sFamilyName
Set
cMaterials_list
=
oFirst_family
.Materials
iNb_materials
=
cMaterials_list
.Count
//Here i want to create multiple arrays for every iteration .
For
j
=
1
To iNb_materials
imaterial_no
=
j
Set
oMaterial1
=
cMaterials_list
.Item(imaterial_no)
ReDim Preserve test(j)
test(j) = oMaterial1.Name
Next
Next
Reply
Answers (
6
)
how to update table to a certain fields
what is azure..any one teach me how to learn new tech azure