Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
I'm very inexperienced with array's and really not able to understand any online explanations.
I would like to take a list of 13 known values and populate 13 consecutive cells with those values.
ie CUPEWP, CUPERP, CUPEE1, CUPEE2, CUPEL1, HPE1, HPE2, HPL1, RPE1, RPE2, RPL1, WPE1, WPE2, WPL1 to populate range A3:A16
I could do 13 lines of code of .range("A3") = "CUPEWP" etc, but I'm wondering if there is a cleaner, more efficient way of doing this. Maybe with an array?
I would like to take a list of 13 known values and populate 13 consecutive cells with those values.
ie CUPEWP, CUPERP, CUPEE1, CUPEE2, CUPEL1, HPE1, HPE2, HPL1, RPE1, RPE2, RPL1, WPE1, WPE2, WPL1 to populate range A3:A16
I could do 13 lines of code of .range("A3") = "CUPEWP" etc, but I'm wondering if there is a cleaner, more efficient way of doing this. Maybe with an array?