创建公式时选择的范围 [英] Selected range while creating formula
本文介绍了创建公式时选择的范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨。
我在创建公式时需要获取所选范围。例如,我创建公式= SUM(A1:A10)。我怎样才能获得A1:A10范围? 有
是任何Excel互操作属性,为我提供A1:A10范围?
I need to get the selected range while I am creating a formula. For example, I create the formula =SUM(A1:A10). How can I get the A1:A10 range? There is any Excel interop property that provides me the A1:A10 range?
TIA
推荐答案
在Excel VBA中,Selection.Address将返回字符串"
In Excel VBA, Selection.Address will return the string "
A
1:
这篇关于创建公式时选择的范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文