Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Create a Text file from Excel

I am trying to create a report, in text format from Excel.

So far I have been successful in creating an object, and put the records
line by line with WriteLine method.

In text-based reports, the common requirement is putting headers, footers,
and more importantly, setting the number of lines per page. I used a line
counter in my program.

What I need to know is:

1. How will I tell Excel to put a page break in the text file being created?

2. How will I tell Excel to make some headings bold? or Underlined?

Murthy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Create a Text file from Excel

Plain text has no line breaks or formatting.
If you need that kind of report you'll have to use a different format, such as maybe HTML or Word.

--
Tim Williams
Palo Alto, CA


"Murthy" wrote in message ...
I am trying to create a report, in text format from Excel.

So far I have been successful in creating an object, and put the records
line by line with WriteLine method.

In text-based reports, the common requirement is putting headers, footers,
and more importantly, setting the number of lines per page. I used a line
counter in my program.

What I need to know is:

1. How will I tell Excel to put a page break in the text file being created?

2. How will I tell Excel to make some headings bold? or Underlined?

Murthy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Create a Text file from Excel

I bet you meant that plain text files don't have page breaks.

Line breaks are pretty common in text files <bg.

Tim Williams wrote:

Plain text has no line breaks or formatting.
If you need that kind of report you'll have to use a different format, such as maybe HTML or Word.

--
Tim Williams
Palo Alto, CA

"Murthy" wrote in message ...
I am trying to create a report, in text format from Excel.

So far I have been successful in creating an object, and put the records
line by line with WriteLine method.

In text-based reports, the common requirement is putting headers, footers,
and more importantly, setting the number of lines per page. I used a line
counter in my program.

What I need to know is:

1. How will I tell Excel to put a page break in the text file being created?

2. How will I tell Excel to make some headings bold? or Underlined?

Murthy


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Create a Text file from Excel

Err... yes - I did mean page breaks.
Thanks for the catch.



--
Tim Williams
Palo Alto, CA


"Dave Peterson" wrote in message ...
I bet you meant that plain text files don't have page breaks.

Line breaks are pretty common in text files <bg.

Tim Williams wrote:

Plain text has no line breaks or formatting.
If you need that kind of report you'll have to use a different format, such as maybe HTML or Word.

--
Tim Williams
Palo Alto, CA

"Murthy" wrote in message ...
I am trying to create a report, in text format from Excel.

So far I have been successful in creating an object, and put the records
line by line with WriteLine method.

In text-based reports, the common requirement is putting headers, footers,
and more importantly, setting the number of lines per page. I used a line
counter in my program.

What I need to know is:

1. How will I tell Excel to put a page break in the text file being created?

2. How will I tell Excel to make some headings bold? or Underlined?

Murthy


--

Dave Peterson



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
How to create a UTF-8 text file from excel VBA mah_kum_70 Excel Discussion (Misc queries) 1 April 29th 06 10:12 PM
Help - Can Excel create a text file?? Acube Excel Programming 3 December 18th 05 06:15 PM
Can I use Excel to create this text file? BigIan Excel Worksheet Functions 4 September 15th 05 03:06 PM
How to create text file from selected excel data Per Magnus L?vold Excel Programming 2 July 22nd 04 05:26 PM
Create and write a simple text file in Excel/VBA Thomas Wieser Excel Programming 4 April 13th 04 10:24 AM


All times are GMT +1. The time now is 04:14 PM.

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"