David Davala
Member
Members
Forum Posts: 28
Member Since:
October 21, 2020
October 21, 2020
Offline
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:
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1939
SunnyKow: 1432
Anders Sehlstedt: 919
Purfleet: 415
Frans Visser: 349
Hans Hallebeek: 339
David_Ng: 306
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
santhosh kumar R
Lennard Wood
Miguel Costa
Nick Dowling
Silvia Ramos
Muhammad Abdullah Asad
Ifeanyi Aghanama
Ann Crossman
Kate Manders
James Carabott
Forum Stats:
Groups: 3
Forums: 25
Topics: 7069
Posts: 30981
Member Stats:
Guest Posters: 49
Members: 34461
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —