Hi All -
I am trying to populate a predefined variable into a specific column of the active row (this is part of a looping code).
Here's what I am trying to do:
With ThisWorkbook
.Sheets("Temp").Cells(Rows.Count, "A").End(xlUp)(2, 1).PasteSpecial xlPasteValues
.Activate
.Range(ActiveRow, "EH").Value = MyRegion
.Range(ActiveRow, "EI").Value = myDept
End With
Any ideas are much appreciated. Thanks!
I am trying to populate a predefined variable into a specific column of the active row (this is part of a looping code).
Here's what I am trying to do:
With ThisWorkbook
.Sheets("Temp").Cells(Rows.Count, "A").End(xlUp)(2, 1).PasteSpecial xlPasteValues
.Activate
.Range(ActiveRow, "EH").Value = MyRegion
.Range(ActiveRow, "EI").Value = myDept
End With
Any ideas are much appreciated. Thanks!