I am confused...
Are you trying to :
sendval = 'c:\temp\xxx.pdf'
do xxx with x,y,'First part of parameter',sendval
Sends 4 parameters to xxx
Glenn
>I need to concatenate a string and then use this value as a parameter. Example: sendval = "C:\temp\xxx.pdf"
>Do xxx With x,y,"first part of parameter"+","+sendval
>Note: this works fine if I type in the sendval manually as follows
>Do xxx With x,y,"first part of parameter"+","+"C:\temp\xxx.pdf"