ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Shell command and Notepad (https://www.excelbanter.com/excel-programming/329416-shell-command-notepad.html)

SA3214

Shell command and Notepad
 
Is it possible to use the Shell command to open notepad with a specified
text file
If so I would be grateful for some info on the notepad command line switches

Regards
& TIA




Ron de Bruin

Shell command and Notepad
 
Try this

Shell ("notepad.exe C:\yourfile.txt")




--
Regards Ron de Bruin
http://www.rondebruin.nl



"SA3214 @Eclipse.co.uk" <sa3214<No Spam wrote in message ...
Is it possible to use the Shell command to open notepad with a specified text file
If so I would be grateful for some info on the notepad command line switches

Regards
& TIA







All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com