Square Bracket Notation Is Less Efficient Than Tunneling (104502)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q104502 SUMMARY
In the Microsoft Excel Visual Basic Programming System, Applications
Edition (Visual Basic), you can use square bracket notation in some
instances as an alternative to tunneling. For example, you could use
[A1] instead of Range("A1") or [Sheet1!A1] instead of
Sheets("Sheet1").Range("A1"). Using this abbreviated notation may take
less time to enter as part of your procedure, but it takes longer to
evaluate these statements at run-time. In addition, it is less
flexible since you can't use variable names inside the square
brackets.
Modification Type: | Minor | Last Reviewed: | 8/15/2003 |
---|
Keywords: | KB104502 |
---|
|