Shell open Notepad and write text

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
 
D

Dave Peterson

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

Top