Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi. Was hoping someone could clarify something for me. What is the
difference between the following: Dim arr1() arr1 = Array("Sheet1", "Sheet2", "Sheet3") Dim arr2 As Sheets Set arr2 = Sheets(Array("Sheet1", "Sheet2", "Sheet3")) I've been reading the message boards a lot lately, and have seen bopth methods being used for creating arrays. I think one is set up as a variable, but not sure. Anyway, they apparently differ in their use of syntax, becasue I have tried meshing both styles into my code, and one style works while the other does not. Just a general clarification would be greatly appreciated, or even better a link to a site that describes in detail the difference? Thanks a bunch! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Prevent cell/array references from changing when altering/moving thecell/array | Excel Discussion (Misc queries) | |||
Average of a difference between 2 cels in a table/array | Excel Worksheet Functions | |||
Second largest in array of difference in high-low values in cells | Excel Worksheet Functions | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
charting a difference of 2 columns' w/o adding a difference column | Charts and Charting in Excel |