Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
" wrote...
... The code fails on the last line. I am unable to transfer the array into VBA. Private Sub GetPricingFiles() ... PriceArray = Workbooks(strbookname).Range(PricingFileNamedRange ) End Sub Even if second.xls is a single sheet, Excel 2.1 format .XLS file, and despite the fact that you could create external reference links to cells in it using just =second.xls!X99, that doesn't change the fact that the Workbook class doesn't have Range properties. Try PriceArray = Workbooks(strbookname).Worksheets(1).Range(Pricing FileNamedRange) -- To top-post is human, to bottom-post and snip is sublime. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array formula: how to join 2 ranges together to form one array? | Excel Worksheet Functions | |||
Named Ranges in Array Formulas | Excel Worksheet Functions | |||
Use named ranges in array formula | Excel Worksheet Functions | |||
Like 123, allow named ranges, and print named ranges | Excel Discussion (Misc queries) | |||
variant array containing cel adresses convert to actual ranges-array | Excel Programming |