see使用 Microsoft Visual C# 进行 Microsoft Word 2002 和 Excel 2002 编程
http://www.microsoft.com/china/msdn/library/dnexcl2k2/html/odc_offcs.asp
"Range","NumRows", "NumColumns" are the parameter namesnormally when you call a function
sub func(byval name1 as string, byval name2 as string, byval name3 as string)
...
end sub you use positional parameters:
func("123","345", "456")but in VB, you can also use named parameters with different order
func(name3:="456",name2:="345", name1:="123")and the effect is same
http://www.microsoft.com/china/msdn/library/dnexcl2k2/html/odc_offcs.asp
"Range","NumRows", "NumColumns" are the parameter namesnormally when you call a function
sub func(byval name1 as string, byval name2 as string, byval name3 as string)
...
end sub you use positional parameters:
func("123","345", "456")but in VB, you can also use named parameters with different order
func(name3:="456",name2:="345", name1:="123")and the effect is same
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货