D
Doug Glancy
Dim temp(Me.TimeIncrementListBox.Items.Count) As String
Dim i As Int32
....
For i = 0 To UBound(temp) - 1
temp(i) = CType(Me.TimeIncrementListBox.Items(i), String)
Next
xlSheet.Range("X10").Resize(1, Me.TimeIncrementListBox.Items.Count).Value =
temp
The above works but,
Can I transfer the contents of the listbox directly to the Excel range,
without the array?
Can I transfer the contents of the listbox into the array in one swell foop,
without the loop?
Humbly,
Doug Glancy
Dim i As Int32
....
For i = 0 To UBound(temp) - 1
temp(i) = CType(Me.TimeIncrementListBox.Items(i), String)
Next
xlSheet.Range("X10").Resize(1, Me.TimeIncrementListBox.Items.Count).Value =
temp
The above works but,
Can I transfer the contents of the listbox directly to the Excel range,
without the array?
Can I transfer the contents of the listbox into the array in one swell foop,
without the loop?
Humbly,
Doug Glancy