VBA to Open an excel file in notepad

Solved/Closed
PM - 8 Oct 2009 à 02:47
 Blocked Profile - 8 Oct 2009 à 04:10
Hello,

Can someone tell me the vba code to open an .xls or .csv file in notepad?

thanks

PM
Related:

1 response

Blocked Profile
8 Oct 2009 à 04:10
Dear Sir,

Below is an example which will facilitate your task:

RetVal = Shell("C:\WINDOWS\notepad.exe C:\myfile.txt", 1)

Thanks in advance.