Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
integreat
 
Posts: n/a
Default importing data into excel


Can excel read data from a text file.??

Example: lets say i type the following 4 lines using note pad:

23
100
344
134

and then save that to a file named test.txt

Now is there any way that excel can do the following?:

1. open test.txt

2. paste the data into the cells such as: the number 23 is in cell A1,
the number 100 is in cell A2, the number 344 is in cell A3 and the
number 134 is in cell A4

3. close test.txt

My hope is that excel can do this(with VBA help?), and if it can, then
I can use my trusty and rusty Qbasic and Quick basic for behind the
scenes hard core math.

Don't laugh - you can make machine language calls with quick basic but
can't with visual basic


--
integreat
------------------------------------------------------------------------
integreat's Profile: http://www.excelforum.com/member.php...o&userid=34282
View this thread: http://www.excelforum.com/showthread...hreadid=541405

  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB
 
Posts: n/a
Default importing data into excel

While in Excel, go to file/open and select all files under file type. Then
open your file. You should see the text import wizard which will step you
through the process.


"integreat" wrote:


Can excel read data from a text file.??

Example: lets say i type the following 4 lines using note pad:

23
100
344
134

and then save that to a file named test.txt

Now is there any way that excel can do the following?:

1. open test.txt

2. paste the data into the cells such as: the number 23 is in cell A1,
the number 100 is in cell A2, the number 344 is in cell A3 and the
number 134 is in cell A4

3. close test.txt

My hope is that excel can do this(with VBA help?), and if it can, then
I can use my trusty and rusty Qbasic and Quick basic for behind the
scenes hard core math.

Don't laugh - you can make machine language calls with quick basic but
can't with visual basic


--
integreat
------------------------------------------------------------------------
integreat's Profile: http://www.excelforum.com/member.php...o&userid=34282
View this thread: http://www.excelforum.com/showthread...hreadid=541405


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
Importing Microsoft query data into excel changes linked rows Wazzy_bear Links and Linking in Excel 1 December 19th 05 09:09 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Importing data to Excel using MS Query John Excel Discussion (Misc queries) 1 November 17th 05 06:19 PM
importing data from Excel worksheet to another worksheet jbrick Excel Worksheet Functions 0 August 11th 05 05:51 PM
Importing Data from Access into Excel vnvkatz Excel Discussion (Misc queries) 3 June 9th 05 05:02 PM


All times are GMT +1. The time now is 09:46 AM.

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

About Us

"It's about Microsoft Excel"