Hi,
I want to put the value in DDXit in the next available cell on the active row. As a stop gap for testing, I just hard-coded the column (last two lines), but I'm at the point that I need to get the thing to work.
All help is much appreciated.
Bonnie
With Sheets("DATA ANALYSIS")
Set NextRow = .Cells(.Rows.Count, 1).End(xlUp).Offset(1, 0)
MsgBox NextRow
'find last used cell on the row to the right
ActiveCell.End(xlToRight).Select
'move one cell to the right from the last used cell
ActiveCell.Offset(0, 1).Select
'
End With
Cells(arow, 4) = SErng
Cells(arow, 5) = DDXit
'****************
I want to put the value in DDXit in the next available cell on the active row. As a stop gap for testing, I just hard-coded the column (last two lines), but I'm at the point that I need to get the thing to work.
All help is much appreciated.
Bonnie
With Sheets("DATA ANALYSIS")
Set NextRow = .Cells(.Rows.Count, 1).End(xlUp).Offset(1, 0)
MsgBox NextRow
'find last used cell on the row to the right
ActiveCell.End(xlToRight).Select
'move one cell to the right from the last used cell
ActiveCell.Offset(0, 1).Select
'
End With
Cells(arow, 4) = SErng
Cells(arow, 5) = DDXit
'****************