Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using Macro to convert 240 to PRN


I have a .xls file that I need to be able to save as a PRN file, so that
I can upload to a mainframe 3270. After many tries I finally discovered
that there is a limit of 240 characters when uploading the data. I
finally found a macro that almost does what I need it to do, but it
writes the file as a txt file. This does not keep the data in the
correct columns. I need for the data to remain in the same columns as
they are input. The macro I found is attached. Can someone help me make
this write a PRN file?


+----------------------------------------------------------------+
| Attachment filename: macro greater than 240 characters.txt |
|Download attachment: http://www.excelforum.com/attachment.php?postid=353684|
+----------------------------------------------------------------+

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Using Macro to convert 240 to PRN

Microsoft offers a macro at:

http://support.microsoft.com/default...&Product=xlw97
Formatted Text (.prn) Limited to 240 Characters Per Line


--
Regards,
Tom Ogilvy


Kenneth wrote in message
...

I have a .xls file that I need to be able to save as a PRN file, so that
I can upload to a mainframe 3270. After many tries I finally discovered
that there is a limit of 240 characters when uploading the data. I
finally found a macro that almost does what I need it to do, but it
writes the file as a txt file. This does not keep the data in the
correct columns. I need for the data to remain in the same columns as
they are input. The macro I found is attached. Can someone help me make
this write a PRN file?


+----------------------------------------------------------------+
| Attachment filename: macro greater than 240 characters.txt |
|Download attachment:

http://www.excelforum.com/attachment.php?postid=353684|
+----------------------------------------------------------------+

------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly 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
MACRO: Convert Row Formula to Value SteveT Excel Discussion (Misc queries) 1 August 30th 07 12:08 PM
Macro to convert text bamf Excel Discussion (Misc queries) 0 April 2nd 07 03:56 PM
convert a formula into a macro Dave F Excel Discussion (Misc queries) 2 December 11th 06 10:34 PM
Macro to convert Name of worksheet G Setting up and Configuration of Excel 7 November 22nd 05 09:31 PM
Convert hhhh:mm:ss to hh:mm:ss (macro ?) BT Bill Excel Worksheet Functions 1 March 8th 05 08:50 AM


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