
David Davala
Member
Members

Forum Posts: 26
Member Since:
October 21, 2020
October 21, 2020

I have the following VBA code. My intent was to load the named range, "UP84Male" into the array "ArrayMortality" I want to make sure the values are in the array. The range UP84Male is one column and 121 rows.
Public Sub Mortality()
Dim ArrayMortality As Variant
ArrayMortality = Range("UP84Male").Value
For i = 1 To 120
Debug.Print ArrayMortality(i)
Next i
End Sub
It bombs on the Debug.Print line.
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Lynnette Altomari, Jessica Stewart, Roy Lutke, Jeff Krueger, Natasha Smith
Guest(s) 12
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Sopi Yuniarti
sandra parker
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27243
Member Stats:
Guest Posters: 49
Members: 31894
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
