Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default copy data - txt file with formatting

I am looking to copy data from excel to a notepad file and want 2 achieve the
following 2 things :

1) Keep the fomat of the text.
2) want to go to the end of the already existing txt file (with data) and
add data towards the end.


--
Ajit
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default copy data - txt file with formatting

Ajit,
Plain text files (.txt, .csv etc) do not support formatting. You will have
to use another format; RTF, HTML, stay in Excel etc.

As for Appending data, There is the Excel method of
OpenAsTextStream/OpenTextFile or the VBA way using the Open statement.

NickHK

"Ajit" wrote in message
...
I am looking to copy data from excel to a notepad file and want 2 achieve

the
following 2 things :

1) Keep the fomat of the text.
2) want to go to the end of the already existing txt file (with data) and
add data towards the end.


--
Ajit



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
copy data for match word from one file to another file mishak Excel Worksheet Functions 1 December 2nd 09 02:11 AM
How do I copy data into Excel and maintain the formatting? tshirttom Excel Discussion (Misc queries) 1 June 25th 07 07:48 PM
Copy data to new cell but with different formatting chiefwidmer Excel Discussion (Misc queries) 3 April 12th 07 10:09 PM
Formatting of Data from .CSV file Night Owl Excel Worksheet Functions 0 May 10th 05 05:40 PM
VBA to copy entire sheet data + formatting Nic@Rolls-Royce Excel Programming 2 February 2nd 04 08:18 AM


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