Hi All -
I am using the code below to identify and populate the first available cell in column A. How can I then tell it to move to column B on that same row and populate that will a predetermined variable/value?
Thanks!!
With ThisWorkbook
.Activate
.Sheets("ErrorLog").Cells(Rows.Count, "A").End(xlUp)(2, 1).Activate
.Sheets("ErrorLog").Cells(Rows.Count, "A").End(xlUp)(2, 1).Value = wbname
End With
I am using the code below to identify and populate the first available cell in column A. How can I then tell it to move to column B on that same row and populate that will a predetermined variable/value?
Thanks!!
With ThisWorkbook
.Activate
.Sheets("ErrorLog").Cells(Rows.Count, "A").End(xlUp)(2, 1).Activate
.Sheets("ErrorLog").Cells(Rows.Count, "A").End(xlUp)(2, 1).Value = wbname
End With