Shell open Notepad and write text

  • Thread starter Thread starter vqthomf
  • Start date Start date
V

vqthomf

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
 
If your code knows what to write, you could create/append the text file in code.

Look at "Print # Statement" in VBA's help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Opening Notepad from Excel 3
Is there a way to do this without using notepad? 3
Save Text file 1
VB to Notepad 3
Excel And Notepad 3
Shell command and Notepad 1
Replace quotes in notepad 6
write to word 2

Back
Top