Grabbing excel (2010) data w/o opening excel CSV file

Started by sense2k, April 20, 2015, 07:57:28 AM

Previous topic - Next topic

sense2k

Hello all
We have a Jet Report which uses data from an excel csv file. We want to minimize the steps needed to run the report for very non tech savvy users.  Currently we first need to open the CSV file before running the jet report.  Is there a way that Excel can be made aware of the data and cell references such that without opening the csv file, the data links function properly.  I may not be making this very clear - I hope you get the gist of it

Thanks

td

It sounds a bit like you want to load data into Excel without loading data into Excel and that, of course, is an oxymoron.   If what you mean is that you want to automate the process of loading data into Excel then that can be done using Excel's COM Automation objects.  There is a plethora of examples of doing that in the Tech Database.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

DAG_P6

What about the solution, built right into Excel, that seems tailor made for this use case?

Assuming that you open a regular Excel workbook that imports the data into a range, probably in a dedicated sheet, the import definition can specify that the data are never stored when the sheet is saved, and is read from the data source (the .CSV file) whenever the workbook is opened.
David A. Gray
You are more important than any technology.