Send Keys

G

GastonFranzini

Hi,
I want to do this

fnamepdf = fpath & "\" & fname
SendKeys fnamepdf & _
"{Enter}", False
Bat the problem is that in the path a folder has (123) . and the send
keys sends 123 without the brackets.
Is there a way to send exactly the keys?
Thanks.
 
E

e.pricecut

There is a set of special characters which must be enclosed with braces
before sending out: (){}[]^%+~
fnamepdf = Replace(Replace(fnamepdf, "(", "{(}"), ")", "{)}") for the
case of parentheses
 
Top