I am trying to invoke a notepad/wordpad through VBA in excel.
Am looking for sample code for the above said requirement.
Trying to write this in a command button.
Private Sub Cmd_1_Click()
Interaction.Shell(notepad.exe,[windowstyle as vbAppWinstyle=vbNormalFocus]) as Double
End Sub
Above is the code where I have written and gave me a syntax error issue.
If any guru can enlighten this and let me know.
Thanks & Regards,
Mohan.