Howdy all,
Can anyone help converting the following Excel macro to VFP 9? I'm particularly confused about the PasteSpecial lines ...:
Selection.End(xlToRight).Select
Range("BA1").Select
ActiveCell.FormulaR1C1 = "1"
Range("BA1").Select
Selection.Copy
Range("R2:AY2").Select
Range("AY2").Activate
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=False, Transpose:=False
Range("G2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=False, Transpose:=False
Range("G1").Select
Selection.End(xlToRight).Select
Application.CutCopyMode = False
Selection.ClearContents
Range("A1").Select
Many thanks!
Cheers,
Garry
Can anyone help converting the following Excel macro to VFP 9? I'm particularly confused about the PasteSpecial lines ...:
Selection.End(xlToRight).Select
Range("BA1").Select
ActiveCell.FormulaR1C1 = "1"
Range("BA1").Select
Selection.Copy
Range("R2:AY2").Select
Range("AY2").Activate
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=False, Transpose:=False
Range("G2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply, _
SkipBlanks:=False, Transpose:=False
Range("G1").Select
Selection.End(xlToRight).Select
Application.CutCopyMode = False
Selection.ClearContents
Range("A1").Select
Many thanks!
Cheers,
Garry