Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Shell open Notepad and write text

Hi is it possible to open Notepad and write text and let the user print or
/and save the file, I tried using the SendKeys strText, True after opening
Notepad but this wont work. Any help would much appreciated.
Charles
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Shell open Notepad and write text


It seems you are having problems puting text into Notepad. Why not
write the data as a text file then open the text file with note pad and
print.


ID = shell("C:\windows\notepad.exe c:\myfile.txt")


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=162269

Microsoft Office Help

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
Cannot open a .dbf in Excel that was saved in NotePad SherryScrapDog Excel Discussion (Misc queries) 0 November 8th 07 12:48 AM
files open in notepad HGP Setting up and Configuration of Excel 1 January 6th 07 04:03 PM
Open recently made .csv in notepad Rick K[_2_] Excel Programming 4 January 18th 06 12:18 PM
Shell command to post to notepad Mbt6 Excel Programming 3 January 9th 06 12:53 PM
Shell command and Notepad SA3214 Excel Programming 1 May 15th 05 11:57 AM


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