Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use the code below to open workbooks and fill and array. Unfortunately the
workbook names change. I have 50 workbooks that I extract data from. Can someone please assist me in adjusting the code so that is opens the books regardless of the names and then fills the array regardless of the name. ' Opens the Tracker workbooks for each unit Dim strPath As String strPath = "\\sphere\Obit\" Workbooks.Open strPath & "D40.xls" Workbooks.Open strPath & "DLP.xls" Workbooks.Open strPath & "WS_234.xls" Workbooks.Open strPath & "POD.xls" Workbooks.Open strPath & "POD2.xls" Workbooks.Open strPath & "GLOB34.xls" ' Establishes an array Dim Tracker_Array As Variant Tracker_Array = Array("D40.xls", "DLP.xls", "WS_234.xls", "POD.xls", "POD2.xls", "GLOB34.xls) Thanks for your assistance Bill |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help with filling in an array formula | Excel Discussion (Misc queries) | |||
Filling an array with data | Excel Worksheet Functions | |||
Filling Formulas Across Workbooks | Excel Discussion (Misc queries) | |||
Opening an filling e-mail from excel | Excel Programming | |||
Opening an filling e-mail from excel | Excel Programming |