Article ID: 110709
Article Last Modified on 10/10/2006
Sub Macro1()
Range("A1").Select
Selection.Cut (Range("B1"))
Range("B1").Select
End Sub
The third line, which originally contained invalid code, has been replaced
by a line of code that performs the correct action.
A1: Alpha B1: Bravo
Sub Macro1()
Range("A1").Select
ExecuteExcel4Macro "CUT(Range("A1"),Range("B1"))"
Range("B1").Select
End Sub
The third line (which starts with the ExecuteExcel4Macro method) will
appear in red, indicating that the line contains a syntax error.
Additional query words: XL5
Keywords: kbprogramming KB110709