Automatically update from source when file opens

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an XLS worksheet (destionation file) that I wish to populate with data
from a CSV file (source). In order to update the XLS, the CSV must be open.
What is the best way to automatically update the destination file? Can a
macro automatically open the source file, upload the data to the destination
file, then close? Or is there an easy way to open the CSV file automatically
when the XLS is opened? thanks
 
Hi,

Have you looked at
Data - Import External Data - New Database Query...
and choosing Text Files as the data source ?

You then select the csv file, and use microsoft query to import into Excel.

Once this is set up, refreshing data from the csv file is a one click
operation.

Ed Ferrero
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top