I'm tring to get a shell to execute a command line program and pass a string in "quotes" and not having any luck. Here is the line of code in question:

exec = Shell ("C:\program.exe -options") & strText

It will execute the program but it doesn't send the string with the "quotes". It needs to executes this:

c:\program.exe -options "needs to be the value of strText in quotes"

TIA,
Chris