Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
P Flater
 
Posts: n/a
Default Automatically update from source when file opens

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
  #2   Report Post  
Ed Ferrero
 
Posts: n/a
Default

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

"P Flater" <P wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I automatically update chart source data links for moved fi Suzuki7 Charts and Charting in Excel 2 February 15th 05 03:55 AM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
2003 update link when Source open tim Excel Worksheet Functions 3 January 17th 05 06:25 AM
File asks to update when no links were created Dave Links and Linking in Excel 1 December 16th 04 08:10 PM
Automatic update of links in destination file when source file mo. Brucgil Excel Discussion (Misc queries) 0 December 2nd 04 04:07 PM


All times are GMT +1. The time now is 08:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"