I want to Create a NotePad or WordPad object. I know the VBA code to create a Word Document but as my file must be a .txt file, I need to use NotePad or WordPad.
The usual Word Code I have use is:
Set WordObj = CreateObject("Word.Application")
changing this to CreateObject("NotePad.Application") does not work.
Any thoughts please?
Thanks
Ted
The usual Word Code I have use is:
Set WordObj = CreateObject("Word.Application")
changing this to CreateObject("NotePad.Application") does not work.
Any thoughts please?
Thanks
Ted