I generate a .txt log file in a VBA application. At the end, I give the user the option to view it now. To display it, I search for notepad.exe and display the log file via the SHELL command. Unfortunately, one of the machines on which this program runs does not have notepad on it. Is there any way to display a file using whatever program the host computer has associated with .txt files? (This would be the VBA equivalent of double-clicking on the file.)
Many thanks. -- Ham Rutledge
Many thanks. -- Ham Rutledge