ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   redim of a double dynamic field (https://www.excelbanter.com/excel-programming/297236-redim-double-dynamic-field.html)

Jurry[_8_]

redim of a double dynamic field
 
I have made double dynamic custom data type:
t().b()
How can I redim ALL the fields b in once as in the following cod
(without using a loop):

Public Type ttype
a As Integer
b() As Variant
End Type
Public Sub test()
Dim t() As ttype
ReDim t(10)
ReDim t(ALL FIELDS 0-10).b(5) As Variant
End Sub

Thanks,
Jurry

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 05:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com