Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果找到此代码:
ActiveCell.Offset(-5, -1).Range("A1:E1").Cut Destination:=ActiveCell.Range( _ "A1:E1")
我找不到有关“:=”的任何参考。这是什么意思?
:=与命名参数一起使用。在这种情况下, Destination是Cut方法的参数名称,另一边是它的值。
:=
Destination
Cut
有关示例,请参见https://docs.microsoft.com/en-us/office/vba/language/concepts/getting-started/understanding-named-arguments-and-optional-arguments 。