Hello,
I use the below code to open a .lst file in notepad, what i need to know is how i can print this file using vba?
code:
RetVal = Shell("C:\WINDOWS\notepad.exe K:\Output\Data.lst")
This code opens the file in notepad, however how do i get it to print?
Also if anyone is able to tell me the code on how i can replace a letter on the new notepad file created and then print then that would be great!!
thanks in advance
PM
Configuration: Windows XP Internet Explorer 6.0 Excel 2003
Have a look here for some ideas on your problem
|