How can I use Application.SendKeys to send email, as I did in Excel?

Hi,
i use a excel macro with Application.SendKeys “%s” to send email via outlook express

but libreoffice don’t works (error runtime 423 sendkeys)

how can i modify this istruction?

sorry for my english

Using SendKeys for programmatic tasks is flawed concept from the very beginning. If you have to do this you are either using a wrong tool or doing it wrong yourself.

Please see this instead:
http://www.oooforum.org/forum/viewtopic.phtml?t=2732

Indeed – please take a look at the link @mahfiaz provided and search for “MS Outlook”.