excel vba - How to print or send braces ( ) using VBA sendkeys -
i have following code not sending braces.
sendkeys "a=$(script.sh)",true but sending a=$script.sh
braces missing.
try this
sendkeys "a=${(}script.sh{)}", true for example
sub sample() dim retval retval = shell("notepad.exe ", 1) appactivate retval sendkeys "a=${(}script.sh{)}", true end sub output
a=$(script.sh)
Comments
Post a Comment