PC Review


Reply
Thread Tools Rate Thread

How can I set up an excel file to auto import data from a CSV fil

 
 
markythesk8erboi
Guest
Posts: n/a
 
      17th Jul 2008
I have a program that sends information into a .csv file. Unfortunately I can
not use formatting options with this file (ex. formatting cells as currancy)
So, I want to create an excel file that will automatically update every 1
minute or so.
The only problem I'm having is that everytime it goes to import excel asks
me what file I want to import from. Is there anyway to set it up so that it
goes to the same file every minute and simply updates the excel file without
excel having to verify the file its pulling information on?
 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      17th Jul 2008
Is the data appended to the existing file, or is the entire file overwritten?

You can certainly use the Application.OnTime method to schedule a macro to run once every minute -
you will just need code to figure out which data to pull (if the data is appended).

HTH,
Bernie
MS Excel MVP


"markythesk8erboi" <(E-Mail Removed)> wrote in message
news:5C819B35-EB8D-4341-91EB-(E-Mail Removed)...
>I have a program that sends information into a .csv file. Unfortunately I can
> not use formatting options with this file (ex. formatting cells as currancy)
> So, I want to create an excel file that will automatically update every 1
> minute or so.
> The only problem I'm having is that everytime it goes to import excel asks
> me what file I want to import from. Is there anyway to set it up so that it
> goes to the same file every minute and simply updates the excel file without
> excel having to verify the file its pulling information on?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
import data from txt file to an existing excel file shaji Microsoft Excel Misc 1 12th Sep 2009 04:15 PM
Auto import of data into excel Nondisclosure007 Microsoft Excel Programming 1 23rd Jun 2008 10:06 PM
Import data from Excel file or text file into database in ASP.NET program bienwell Microsoft ASP .NET 2 17th Jun 2006 04:57 AM
Auto-Import and sort data in Excel =?Utf-8?B?TkogRGVzaSBCaGFp?= Microsoft Excel Worksheet Functions 1 8th Mar 2006 04:33 PM
Specify data to import from other excel file reditz11 Microsoft Excel Programming 1 18th Feb 2006 07:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 AM.