Ok, what's wrong with this:

Dim opentxt As Double
Dim parameter As String
parameter = "C:\Program Files\Accessories\WordPad " & App.Path & "\temp.txt"

opentxt = Shell(parameter, vbNormalFocus)

It keeps saying that it can't find c:\Program. I think I might have to use c:\Progra~1\... But I don't know what drive it's going to install in, that's why I have to use App.Path.

Any ideas?

Thanks in advance!