If foud this code:
如果foud这段代码:
ActiveCell.Offset(-5, -1).Range("A1:E1").Cut Destination:=ActiveCell.Range( _
"A1:E1")
I can't find any reference about ":=". What does it mean?
我找不到任何关于“:=”的参考。这是什么意思?
1 个解决方案
#1
5
:=
is used with named arguments. In this case, Destination
is the name of an argument to the Cut
method, and the other side is its value.
:=与命名参数一起使用。在这种情况下,Destination是Cut方法的参数名称,另一侧是其值。
See http://unofficialaccessstuff.blogspot.com/2008/02/vba-named-arguments.html for an example.
有关示例,请参见http://unofficialaccessstuff.blogspot.com/2008/02/vba-named-arguments.html。
#1
5
:=
is used with named arguments. In this case, Destination
is the name of an argument to the Cut
method, and the other side is its value.
:=与命名参数一起使用。在这种情况下,Destination是Cut方法的参数名称,另一侧是其值。
See http://unofficialaccessstuff.blogspot.com/2008/02/vba-named-arguments.html for an example.
有关示例,请参见http://unofficialaccessstuff.blogspot.com/2008/02/vba-named-arguments.html。