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

I am trying to save a excel document which contains data only in th
first column and each column is to be saved in a row in the tex
document, everything was working fine until I found that apparently i
the row ia too long if kind goes haywire.

Basically it breaks the rest of the row and puts 3 rows down from th
last row.

I cannot break the line, it has to be everything in the line.

I tried other text printing formats but it adds double quotes where i
is not supposed to.

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with xlTextPrinter?

Nobody. :(

Basically let's say the max is 7 characters (Of course the proble
occurs on 255 or something similar) and I have the rows in Excel wit
this data


ALEX
ALEXANDRE
M


What I get in the text file is:

ALEX
ALEXAND
ME

R


And as I said using other txt formats double quotes are added where i
is not supposed to, I want the text exactly how it writtne in Exce
(Thus xlTextPrinter, that is, prn file)

Hopefully someone can help me here.

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Problem with xlTextPrinter?

After 240 characters is when the problem starts.

Maybe you could just copy and paste into NotePad and then save from there.

Or use a macro that creates the .prn file.

Maybe you can steal some code and create your own macro that does it:

Earl Kiosterud's Text Write program:
http://www.tushar-mehta.com/
Look for Text Write in the left hand frame.

Chip Pearson's:
http://www.cpearson.com/excel/imptext.htm

J.E. McGimpsey's:
http://www.mcgimpsey.com/excel/textfiles.html


"NooK <" wrote:

Nobody. :(

Basically let's say the max is 7 characters (Of course the problem
occurs on 255 or something similar) and I have the rows in Excel with
this data

ALEX
ALEXANDRE
ME

What I get in the text file is:

ALEX
ALEXAND
ME

RE

And as I said using other txt formats double quotes are added where it
is not supposed to, I want the text exactly how it writtne in Excel
(Thus xlTextPrinter, that is, prn file)

Hopefully someone can help me here.

Best Regards

NooK

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with xlTextPrinter?

Thanks that is exactly what I did (Paste to Notepad) by using SendKey
method.

It is a shame that Notepad can actually do this while Excel can't. :(

Thanks

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM


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