Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheets Array
The following line of code works:
Sheets(Array(1, 2, 3)).Select however, when I try and do this programmatically eg: mysheets ="1, 2, 3" Sheets(Array(mysheets)).Select It fails - can anyone point out what I am missing. Many thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheets Array
Hello Dave
mysheets = Array("1", "2","3") Sheets(mysheets).Select HTH Cordially Pascal "Dave" a écrit dans le message de ... The following line of code works: Sheets(Array(1, 2, 3)).Select however, when I try and do this programmatically eg: mysheets ="1, 2, 3" Sheets(Array(mysheets)).Select It fails - can anyone point out what I am missing. Many thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheets Array
many thanks!
-----Original Message----- Hello Dave mysheets = Array("1", "2","3") Sheets(mysheets).Select HTH Cordially Pascal "Dave" a écrit dans le message de ... The following line of code works: Sheets(Array(1, 2, 3)).Select however, when I try and do this programmatically eg: mysheets ="1, 2, 3" Sheets(Array(mysheets)).Select It fails - can anyone point out what I am missing. Many thanks . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy an array of Sheets | Excel Discussion (Misc queries) | |||
sheets(array).select problem | Excel Discussion (Misc queries) | |||
combining cells and array from different sheets into an array to pass to IRR() | Excel Discussion (Misc queries) | |||
Select Sheets via Array Macro | Excel Programming | |||
an array to step through sheets | Excel Programming |