Help!

Excel - Creating Tabbed Delimited Text File - Need help wi..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  Printing 4 sets of coulmns on one page  
Author Message
dza7
External


Since: Nov 04, 2009
Posts: 1



PostPosted: Wed Nov 04, 2009 11:13 am    Post subject: Excel - Creating Tabbed Delimited Text File - Need help with blank
Archived from groups: microsoft>public>excel>programming, others (more info?)

Hello,

I'm attempting to creating a tabbed delimited file from excel that is
going to be used for entering sale orders in an Oracle based
platform. The problem I'm running into right now is that I have
several blank cells in my excel spreadsheet that need to be shown as
"" in the text file when I "save as" to a txt file.

I've tried different methods and none of them have worked:
* I've tried changing all the blank cells to "". When "saved as" a
txt file those cells become """".
* I've tried changing the blank cells to a period, an apostrophe, a
space and none of those methods have worked either.

In the end I can edit this txt file in wordpad and replace the
incorrect characters but I'm hoping there is something I can change in
my excel template to help wit this process.

Thanks,

Dza
Back to top
Franz Verga
External


Since: Jun 21, 2006
Posts: 327



PostPosted: Wed Nov 04, 2009 9:10 pm    Post subject: Re: Excel - Creating Tabbed Delimited Text File - Need help with blank cell output [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think you can use this macro from Chip Pearson:

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


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.


Thanks in advance for your feedback.


Ciao


Franz Verga from Italy (now in Berlin)
dza7 wrote:
> Hello,
>
> I'm attempting to creating a tabbed delimited file from excel that is
> going to be used for entering sale orders in an Oracle based
> platform. The problem I'm running into right now is that I have
> several blank cells in my excel spreadsheet that need to be shown as
> "" in the text file when I "save as" to a txt file.
>
> I've tried different methods and none of them have worked:
> * I've tried changing all the blank cells to "". When "saved as" a
> txt file those cells become """".
> * I've tried changing the blank cells to a period, an apostrophe, a
> space and none of those methods have worked either.
>
> In the end I can edit this txt file in wordpad and replace the
> incorrect characters but I'm hoping there is something I can change in
> my excel template to help wit this process.
>
> Thanks,
>
> Dza
Back to top
Dave Peterson
External


Since: Jul 08, 2005
Posts: 16049



PostPosted: Wed Nov 04, 2009 9:33 pm    Post subject: Re: Excel - Creating Tabbed Delimited Text File - Need help with blank [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you're willing to edit the tab delimited text file, then you could have used
the asterisk (or any unused character) and then replace that with "" in the text
file.

Open the .txt file in Notepad and then do the replacing.



dza7 wrote:
>
> Hello,
>
> I'm attempting to creating a tabbed delimited file from excel that is
> going to be used for entering sale orders in an Oracle based
> platform. The problem I'm running into right now is that I have
> several blank cells in my excel spreadsheet that need to be shown as
> "" in the text file when I "save as" to a txt file.
>
> I've tried different methods and none of them have worked:
> * I've tried changing all the blank cells to "". When "saved as" a
> txt file those cells become """".
> * I've tried changing the blank cells to a period, an apostrophe, a
> space and none of those methods have worked either.
>
> In the end I can edit this txt file in wordpad and replace the
> incorrect characters but I'm hoping there is something I can change in
> my excel template to help wit this process.
>
> Thanks,
>
> Dza

--

Dave Peterson
Back to top
Daryl S
External


Since: Nov 03, 2009
Posts: 4



PostPosted: Thu Nov 05, 2009 8:55 am    Post subject: RE: Excel - Creating Tabbed Delimited Text File - Need help with blank [Login to view extended thread Info.]
Archived from groups: microsoft>public>excel>misc, others (more info?)

Depending on how many columns you have and the size, you can use a column to
the right of your current data (or on another spreadsheet in the workbook) to
do the concatenation yourself. Then you only need to export the one new
column (or copy/paste if you like).

The formulas for the cells in your new column would look something like this:
=A4 & CHAR(9) & B4 & CHAR(9) & C4 & CHAR(9) & D4

Where CHAR(9) is the tab delimeter you want. If you need quotes around
text fields, you would add those in your formula also.

--
Daryl S


"dza7" wrote:

> Hello,
>
> I'm attempting to creating a tabbed delimited file from excel that is
> going to be used for entering sale orders in an Oracle based
> platform. The problem I'm running into right now is that I have
> several blank cells in my excel spreadsheet that need to be shown as
> "" in the text file when I "save as" to a txt file.
>
> I've tried different methods and none of them have worked:
> * I've tried changing all the blank cells to "". When "saved as" a
> txt file those cells become """".
> * I've tried changing the blank cells to a period, an apostrophe, a
> space and none of those methods have worked either.
>
> In the end I can edit this txt file in wordpad and replace the
> incorrect characters but I'm hoping there is something I can change in
> my excel template to help wit this process.
>
> Thanks,
>
> Dza
> .
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum