Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 150
Default Opening Notepad from Code

Hi All,

At the click of a button in an Excel/VBA program I have, I want to open Notepad, paste what is in the memory into it and then swtch back to excel as the 'Active' application.

Could anyone help me with this - any would be greatly appreciated?

Cheers in advance,

Stan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Opening Notepad from Code

If you want to write a text file, using notepad is not the best way to do
it. You can write a text file directly from excel.

--
Regards,
Tom Ogilvy

"Stan" wrote in message
...
Hi All,

At the click of a button in an Excel/VBA program I have, I want to open

Notepad, paste what is in the memory into it and then swtch back to excel as
the 'Active' application.

Could anyone help me with this - any would be greatly appreciated?

Cheers in advance,

Stan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Opening Notepad from Code

Some sample code at Chip Pearson's site:

http://www.cpearson.com/excel/imptext.htm import/export text files

--
Regards,
Tom Ogilvy

"Stan" wrote in message
...
Hi All,

At the click of a button in an Excel/VBA program I have, I want to open

Notepad, paste what is in the memory into it and then swtch back to excel as
the 'Active' application.

Could anyone help me with this - any would be greatly appreciated?

Cheers in advance,

Stan



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
VBA code halts after opening a file Bill in Inverness Excel Programming 7 February 2nd 04 12:41 PM
Troubles opening a CSV file from code Bas van Dijk Excel Programming 0 January 19th 04 01:21 PM
Opening A Folder Using VB Code kiza Excel Programming 2 January 4th 04 11:27 AM
Performing code without opening the Workbook Marishah Warren Excel Programming 2 December 25th 03 10:04 AM
opening and writing into notepad peter Excel Programming 1 August 15th 03 07:09 PM


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