Hey everyone,
I am not sure why my computer doesnt like the below procedure. I am trying to take information from sheets"PIP" and put it in the column format of sheets"Loans". When I run this no errors are detected but the program freezes. All of my other macros seem to work fine but this one. Is there a better way to write this?
Sub columnfix()
Dim L As Integer
Sheets("Loans").Select
With Sheets("PIP")
For L = 3 To 20
.Range("A3").Value = Range("A" & L).Value
.Range("B3").Value = Range("I" & L).Value
.Range("C3").Value = Range("J" & L).Value
.Range("D3").Value = Range("X" & L).Value
.Range("E3").Value = Range("AC" & L).Value
Next
End With
End Sub
Any help is much appreciated!!
Thanks everyone,
Bryan
I am not sure why my computer doesnt like the below procedure. I am trying to take information from sheets"PIP" and put it in the column format of sheets"Loans". When I run this no errors are detected but the program freezes. All of my other macros seem to work fine but this one. Is there a better way to write this?
Sub columnfix()
Dim L As Integer
Sheets("Loans").Select
With Sheets("PIP")
For L = 3 To 20
.Range("A3").Value = Range("A" & L).Value
.Range("B3").Value = Range("I" & L).Value
.Range("C3").Value = Range("J" & L).Value
.Range("D3").Value = Range("X" & L).Value
.Range("E3").Value = Range("AC" & L).Value
Next
End With
End Sub
Any help is much appreciated!!
Thanks everyone,
Bryan