Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've used the code you refer to and it works fine. Check very
carefully your filename in the line: tArray = ReadDataFromWorkbook("C:\FolderName\SourceWbName.x ls", "A1:B21") The first argument must obviously refer to an Excel workbook on your machine. If I give the wrong filename or folder path I get the invalid file prompt followed by the type mismatch error. If your workbook is in My Documents, it can be confusing to know the precise folder path. The easiest way to determine this is using Windows Explorer with the full path displayed in the address bar (Tools Folder Options View tab check Display the full path in the address bar). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Replace data into closed workbook | Excel Discussion (Misc queries) | |||
Get Data From Closed Workbook | Excel Worksheet Functions | |||
Data Validation From Closed WorkBook | Excel Discussion (Misc queries) | |||
Accessing Data from Closed Workbook | Excel Programming | |||
Accessing Data from Closed Workbook | Excel Programming |