什么意思是等号的冒号“:=” [英] What does mean the colon with equal sign ":="

查看:370
本文介绍了什么意思是等号的冒号“:=”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果foud这段代码:

If foud this code:

ActiveCell.Offset(-5, -1).Range("A1:E1").Cut Destination:=ActiveCell.Range( _
        "A1:E1")

我找不到任何关于:=的引用。这是什么意思?

I can't find any reference about ":=". What does it mean?

推荐答案

:= 。在这种情况下, Destination Cut 方法的参数的名称,另一方是它的值。

:= 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.

请参阅
http: //unofficialaccessstuff.blogspot.com/2008/02/vba-named-arguments.html 为例。

这篇关于什么意思是等号的冒号“:=”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆