Hello, I have a sub set up to find the first blank line then write a row of
data to a worksheet after a button click here is part of the code.
(Begin code)
Private Sub Chart()
Dim irow As Long
Dim Chart As Worksheet
Set Chart = Worksheets("Chart data")
'find first empty Row in database
irow = Chart.Cells(Rows.Count, 1) _
.End(xlUp).Offset(1, 0).Row
Chart.Cells(irow, 1).value = Me.cbbrand.Text
Chart.Cells(irow, 2).value = Me.tb04vol.Text
I want convert this to a column format and I am having trouble with the
".End(xlup)...
Is it ".end(xlleft)"
Aside from changing "Row(s)" to Column(s) what must I do to write the data
vertically vs. horizontally.
TIA
Bookmarks