PC Review


Reply
Thread Tools Rate Thread

Auto Import OR Searching TXT Data

 
 
mrscreensaver@gmail.com
Guest
Posts: n/a
 
      23rd Feb 2006
Is there any simple way to import a file from a TXT file automatically
by clicking a button in Excel. If not is there a way or program to
convert a txt file to excel via batch file? Basically I have this
command:

=IF(COUNTIF(Sheet2!A1:A7969,C8)>0,"YES","NO")

This is asking if I enter a number in cell C8 and it equals any number
on Sheet 2 in column A
then return a YES if not NO. However this file changes daily and I
dont want to have to keep reimporting this file every day by hand and
would like it automated basically with either a click of a button or
off the name of a constant spread sheet or TXT file.

Any ideas would be GREAT!!

 
Reply With Quote
 
 
 
 
mrscreensaver@gmail.com
Guest
Posts: n/a
 
      23rd Feb 2006
Answered my own question:
Just in case anyone is curious how I did this...

Noticed that if you rename the ***.txt to ***.cvs it will put in XLS
format
Took txt file in batch file and renamed. Used the new spread sheet
name in place of
Sheet2 and the whole column. Placed this is a folder on the server and
just attached
a short cut to desktop and used link to batch file to run inside excel
to update each time.

=IF(COUNTIF(ExTRTbl.csv!$A:$A,C8)>0,"Yes","No")

This was my fast work around... but if anyone else knows of a better
way? Please post.

 
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
How can I set up an excel file to auto import data from a CSV fil markythesk8erboi Microsoft Excel Programming 1 17th Jul 2008 08:05 PM
Auto import of data into excel Nondisclosure007 Microsoft Excel Programming 1 23rd Jun 2008 10:06 PM
Auto formatting .CSV import data BobW Microsoft Excel Discussion 4 3rd Nov 2006 06:19 PM
Auto import data from spreadsheet =?Utf-8?B?a2luZ2tvbmczMTY=?= Microsoft Access External Data 6 19th Sep 2005 04:35 PM
Auto Import Access Data news.microsoft.com Microsoft Access 1 2nd Jul 2005 03:10 PM


Features
 

Advertising
 

Newsgroups
 


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