Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Import into excel

Hi All,
I want to import a text file into excel using VB. Can
anyone give me some ideas on how this can be done. I can
create the excel file no problem. I just can't get the
import to work.


Ron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Import into excel

If you like what you get with File|Open (and the import text wizard appears),
then record a macro when you do it.

If you want more control over the import, take a look at Chip Pearson's code:

http://www.cpearson.com/excel/imptext.htm

Ron Bromwell wrote:

Hi All,
I want to import a text file into excel using VB. Can
anyone give me some ideas on how this can be done. I can
create the excel file no problem. I just can't get the
import to work.

Ron


--

Dave Peterson

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
import XML data...Is there a size limit on the import? MatthewG Excel Discussion (Misc queries) 0 February 10th 09 05:57 PM
Excel import Denny1 Excel Discussion (Misc queries) 3 January 17th 09 10:01 PM
Import to excel LtWmChance Excel Discussion (Misc queries) 2 September 15th 08 09:40 PM
How to Start Excel in Text Import Wizard for data import rlelvis Setting up and Configuration of Excel 0 July 10th 08 08:40 PM
Data Import to Excel Issue with Excel 2007 and Excel 2003 on same Melsh Excel Discussion (Misc queries) 0 August 1st 07 09:32 PM


All times are GMT +1. The time now is 07:20 PM.

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"