Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel,microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Excel - Creating Tabbed Delimited Text File - Need help with blankcell output

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
  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel,microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Excel - Creating Tabbed Delimited Text File - Need help with blank cell output

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

  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel,microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Excel - Creating Tabbed Delimited Text File - Need help with blankcell output

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
  #4   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel
external usenet poster
 
Posts: 135
Default Excel - Creating Tabbed Delimited Text File - Need help with blank

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
.

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
Excel - Creating Tabbed Delimited Text File - Need help with blankcell output dza7 Excel Discussion (Misc queries) 3 November 5th 09 04:55 PM
Converting Tab Delimited Text File to A Comma Delimited Text File Dave Peterson Excel Programming 0 June 13th 07 03:13 PM
Output space-delimited file with quotes around text? Sinc Excel Discussion (Misc queries) 1 December 5th 06 11:02 PM
Saving multi-tab excel file created from comma delimited text file Marcus Aurelius Excel Programming 2 December 19th 05 05:16 PM
Open delimited text file to excel without changing data in that file zohanc Excel Programming 1 October 3rd 03 01:06 AM


All times are GMT +1. The time now is 02:23 AM.

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

About Us

"It's about Microsoft Excel"