Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Exporting Excel Data into Notepad


Dear All,

Is it possible to export excel data into Notepad?

Or is it possible to open a notepad file inside a macro and paste exce
contents into that file?

Any help will be appreciated..

Thanks
De

--
devender_
-----------------------------------------------------------------------
devender_g's Profile: http://www.excelforum.com/member.php...fo&userid=1937
View this thread: http://www.excelforum.com/showthread.php?threadid=34577

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Exporting Excel Data into Notepad

Hi Dev,
One way it can be done, change the save as to suit your needs.
Regards
Pete

Sub TEXT1()
Application.DisplayAlerts = False
Application.ScreenUpdating = False
Sheets("TEXT").Select
Sheets("TEXT").Copy
ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Administrator\Desktop\MYTEXT.txt",
FileFormat:= _
xlUnicodeText, CreateBackup:=False
ActiveWindow.Close
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub






"devender_g" wrote in message
...

Dear All,

Is it possible to export excel data into Notepad?

Or is it possible to open a notepad file inside a macro and paste excel
contents into that file?

Any help will be appreciated..

Thanks
Dev


--
devender_g
------------------------------------------------------------------------
devender_g's Profile:

http://www.excelforum.com/member.php...o&userid=19379
View this thread: http://www.excelforum.com/showthread...hreadid=345778



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Exporting Excel Data into Notepad

devender,
You can save an Excel worksheet as tab or comma separated that you can open
in NotePad.
Depending on the layout and requirements, you may get something useful or
garbage.

NickHK

"devender_g" wrote in message
...

Dear All,

Is it possible to export excel data into Notepad?

Or is it possible to open a notepad file inside a macro and paste excel
contents into that file?

Any help will be appreciated..

Thanks
Dev


--
devender_g
------------------------------------------------------------------------
devender_g's Profile:

http://www.excelforum.com/member.php...o&userid=19379
View this thread: http://www.excelforum.com/showthread...hreadid=345778



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
Exporting to excel from NotePad Hardeep_kanwar[_2_] Excel Worksheet Functions 2 October 11th 08 11:40 PM
Exporting Excel file into Notepad with column & row lines JIVL Charts and Charting in Excel 1 August 26th 08 12:14 AM
RE : upload data from excel to notepad [email protected] Excel Worksheet Functions 1 June 24th 07 10:02 AM
How do I transfer data from Notepad to Excel? erika Excel Discussion (Misc queries) 2 January 18th 05 07:57 PM
Exporting to Notepad Adam Kozul Excel Programming 3 April 14th 04 02:21 PM


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