I have code to open program that work(on attach files).
My problem is when I change code to open another file it error.
Call Shell(li & "\" & "Program Files\Microsoft Office\Office10\POWERPNT.EXE", 1)
Call Shell(li & "\" & "aa.pdf", 1)
Error say:"Invalid procedure call or argument"
I have file on my computer.
Can anyone help me with this problem please?