G
General Specific
The following code checks for data in the first cell in the row and
then copies and pastes the formulas. This pastes the correct formulas
to a row if data is present.
The problem is, Application.screenupdate=false does not work since
each select command turns it back on.
So, this code is slow. how do I fix this?
i = 16
While Not IsEmpty(Cells(i, 1))
Range ("I15")
Selection.Copy
Cells(i, 9).Select
ActiveSheet.Paste
Range("J15").Select
Selection.Copy
Cells(i, 10).Select
ActiveSheet.Paste
Range("K15").Select
Selection.Copy
Cells(i, 11).Select
ActiveSheet.Paste
i = i + 1
Wend
then copies and pastes the formulas. This pastes the correct formulas
to a row if data is present.
The problem is, Application.screenupdate=false does not work since
each select command turns it back on.
So, this code is slow. how do I fix this?
i = 16
While Not IsEmpty(Cells(i, 1))
Range ("I15")
Selection.Copy
Cells(i, 9).Select
ActiveSheet.Paste
Range("J15").Select
Selection.Copy
Cells(i, 10).Select
ActiveSheet.Paste
Range("K15").Select
Selection.Copy
Cells(i, 11).Select
ActiveSheet.Paste
i = i + 1
Wend