|
楼主 |
发表于 2018-6-7 10:14
|
显示全部楼层
Sub 手动福彩3D添加更新()
Range("f8:j1007").Select
Selection.Copy
Range("F8").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F1007").Select
ActiveCell.FormulaR1C1 = "=R[-1]C+1"
Range("g1007").Select
ActiveCell.FormulaR1C1 = "=R[-1]C+1"
Dim i%, n%
n = Range("h65536").End(3).Row + 0
Range("h" & n) = Range("h1009").Value
Range("i" & n) = Range("i1009").Value
Range("j" & n) = Range("j1009").Value
End Sub
无法更新,写VBA有问题,请指教!!! |
|