I want to copy and past the VBA code that is returning an error message
and I cannot figure out what is wrong with my program. Can one of your
kind assistants please help me with this? Thank you so much.
(ps - here is the code)
Sub OBTest()
'
' OBTest Macro
' Macro recorded 8/25/2008
'
' Keyboard Shortcut: Ctrl+Shift+O
'
Dim row As Integer
For row = 1 To 30000
row = 1
Do Until ActiveSheet.Range("E(row + 1)") Is Empty
row = row + 1
Sheets("Sheet1").Select
Range("E(row + 1)").Select
Selection.Copy
Sheets("Calculation Template").Select
Range("D4").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("F(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D5").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("G(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D6").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("H(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D7").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("I(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D8").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("J(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D11").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Range("K(row + 1)").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Calculation Template").Select
Range("D8").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("Calculation Template").Select
Range("D39").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet1").Select
Range("M2").Select
Selection.PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Loop
Next row
End Sub