I added a simple Macro to my Excel, but it seems to make my Excel crash a lot. Does anyone know why?
Here's the macro:
Sub PlanRelativityTesting()
With Sheets("Sheet1")
For i = 8 To 9
.Range("D11").value = .Range("G" & i).value
Call AnotherMacro
Sheets("Sheet2").Select
.Range("H" & i).value = Sheets("Sheet2").Range("AE20").value
.Range("I" & i).value = Sheets("Sheet2").Range("AE21").value
.Range("J" & i).value = Sheets("Sheet2").Range("AE22").value
.Range("K" & i).value = Sheets("Sheet2").Range("AE23").value
.Range("L" & i).value = Sheets("Sheet2").Range("AE24").value
.Range("M" & i).value = Sheets("Sheet2").Range("AE25").value
.Range("N" & i).value = Sheets("Sheet2").Range("AE26").value
.Range("O" & i).value = Sheets("Sheet2").Range("AE27").value
.Range("P" & i).value = Sheets("Sheet2").Range("AE28").value
.Range("Q" & i).value = Sheets("Sheet2").Range("AE29").value
.Range("R" & i).value = Sheets("Sheet2").Range("AE30").value
.Range("S" & i).value = Sheets("Sheet2").Range("AE31").value
Next i
.Select
End With
End Sub
AnotherMacro-- how can anybody say what the problem is? The code that you show is unproblematic (though needlessly verbose).