Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Yagnesh
 
Posts: n/a
Default Automate the Text Import Wizard (Fixed Width)


I have a Text file which I need to bring into Excel using the Text
Import Wizard. I use the Fixed Width option since each column is a
certain characters long.

Is there a way I could automatically save my "breaks" so I'm not
breaking the file every week. Some add-in or a method would be
appreciated.

Thanks
Yag


--
Yagnesh
------------------------------------------------------------------------
Yagnesh's Profile: http://www.excelforum.com/member.php...o&userid=25661
View this thread: http://www.excelforum.com/showthread...hreadid=395843

  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Yag

Suggest recording a macro while importing the text file.

Assign the macro to a button or shortcut key combo.


Gord Dibben Excel MVP

On Mon, 15 Aug 2005 11:33:42 -0500, Yagnesh
wrote:


I have a Text file which I need to bring into Excel using the Text
Import Wizard. I use the Fixed Width option since each column is a
certain characters long.

Is there a way I could automatically save my "breaks" so I'm not
breaking the file every week. Some add-in or a method would be
appreciated.

Thanks
Yag


  #3   Report Post  
Yagnesh
 
Posts: n/a
Default


Gord Dibben,

Unfortunately, Excel doesn't allow any menus to be used when the text
import wizard is open. So I can't even get to the record a macro
feature.

Anything else up your sleeve?


--
Yagnesh
------------------------------------------------------------------------
Yagnesh's Profile: http://www.excelforum.com/member.php...o&userid=25661
View this thread: http://www.excelforum.com/showthread...hreadid=395843

  #4   Report Post  
JICDB
 
Posts: n/a
Default

I thought I could get around the menu bar by using the short cut keys (eg:
Alt+T) But that didn't work. What did work is recording the macro before
accessing the file. To do this you would need to use the same file location
and file name. For instance I created a folder called "EXPORT FILES" and
then saved my file as 1.prt (prt is the previous file extension). Each time
I pulled up a file that I wanted to insert the same breaks I resaved that
file as the name 1.prt. It's an extra step but at least you don't have to
keep putting breaks into each file.


"Yagnesh" wrote:


I have a Text file which I need to bring into Excel using the Text
Import Wizard. I use the Fixed Width option since each column is a
certain characters long.

Is there a way I could automatically save my "breaks" so I'm not
breaking the file every week. Some add-in or a method would be
appreciated.

Thanks
Yag


--
Yagnesh
------------------------------------------------------------------------
Yagnesh's Profile: http://www.excelforum.com/member.php...o&userid=25661
View this thread: http://www.excelforum.com/showthread...hreadid=395843


  #5   Report Post  
MrShorty
 
Posts: n/a
Default


How are you accessing the text import wizard -- File-open or Data-import
external data? If you haven't tried the Import External Data command, I
would suggest you try it to see if it will help you. This sets up what
Excel calls a "Query Table" which includes saving the settings from the
Text Import Wizard.


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=395843



  #6   Report Post  
JICDB
 
Posts: n/a
Default

I accessed the wizard from Data/Import External Data/ Import Data

"MrShorty" wrote:


How are you accessing the text import wizard -- File-open or Data-import
external data? If you haven't tried the Import External Data command, I
would suggest you try it to see if it will help you. This sets up what
Excel calls a "Query Table" which includes saving the settings from the
Text Import Wizard.


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=395843


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
Text import wizard defaults? Bruce Bowler Excel Discussion (Misc queries) 4 April 3rd 23 10:57 AM
Text Import Wizard Pieter G Excel Discussion (Misc queries) 1 July 18th 05 11:49 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Excel Text import wizard Kate Excel Discussion (Misc queries) 1 February 23rd 05 06:40 PM
Export to fixed width text file FinChase Excel Discussion (Misc queries) 0 January 24th 05 07:25 PM


All times are GMT +1. The time now is 02:52 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"