Is there an API that will open notepad?
More specifcally a text file in notpad? If so can someone tell me the code?
For example, someone clicks a button and the desired text file appears in notepad.....
Printable View
Is there an API that will open notepad?
More specifcally a text file in notpad? If so can someone tell me the code?
For example, someone clicks a button and the desired text file appears in notepad.....
You can just Shell Notepad and pass the file name as the command line argument.
Code:Shell "C:\Windows\Notepad.exe C:\MyTextFile.txt", vbNormalFocus