View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_] Harlan Grove[_2_] is offline
external usenet poster
 
Posts: 1,231
Default External Links in Excel 2007

"betany70" wrote...
We are using external links to create a grading sheet for instructors to
populate student names, dates, other text data. (Our school's database
exports this information into a csv file based on a query) . . .
. . .getting the links to update without opening the source file . . .

....

Do you mean you've designed an Excel workbook (.XLS[XMB] file format) with
external links into CSV files? If so, no way to fix this without using VBA,
and that could lead to more security issues. Excel can only fetch values
from closed files when those closed files are in one of the .XLS[XMB]
formats. Excel can't fetch values from closed files of any other type even
if it could if those files were open.

The VBA/udf alternative involves opening the files, parsing them line by
line, so logical row by row, and returning the specified cell(s). But if
you're going to use VBA anyway, you'd be better off importing CSV files into
worksheets in your .XLS[XMB] file (using whatever Excel 2007's equivalent
for Excel 2003's Data Import External Data Import Data . . .) and
addressing it as an INTERNAL range. Alternatively, convert the CSV files to
..XLSX format, then change the external references in your .XLS[XMB] file to
refer to the .XLS files rather than the .CSV files.