Hello,
I'm trying to figure out the best approach to output the header values from my array to the worksheet. Currently I'm using this manual method:
However, all of these values are stored in my array in their #1 slot such as
I'm confident I could ultimately output one value and then offset by a column, but I would like to be able to reproduce the above if possible using the values stored in the arrSettings array.
Thank you. Any help would be greatly appreciated...
I'm trying to figure out the best approach to output the header values from my array to the worksheet. Currently I'm using this manual method:
VBA Code:
'Declarations
Dim FirstCol As String: FirstCol = arrSettings(LBound(arrSettings), 7)
Dim LastCol As String: LastCol = arrSettings(UBound(arrSettings), 7)
'Headers
With wsLogs.Range(FirstCol & "2:" & LastCol & "2") 'wsLogs CodeName
.Font.Bold = True
.Value = Array("Quiz", "Title", "Page", "Book", "Level", "Words", "Status", "List", "Media")
End With
However, all of these values are stored in my array in their #1 slot such as
arrSettings(1,1)
I'm confident I could ultimately output one value and then offset by a column, but I would like to be able to reproduce the above if possible using the values stored in the arrSettings array.
Thank you. Any help would be greatly appreciated...