Return to Excel after shell an application

A

abc

Dear all,

I write a macro to email a list of files by outlook express through shell.
As focus passes to OE and it finish the email sending process, the focus
remain on OE. How can the focus pass back to the worksheet?

Thanks in advance
 
S

Stephen Bullen

Hi Abc,
I write a macro to email a list of files by outlook express through shell.
As focus passes to OE and it finish the email sending process, the focus
remain on OE. How can the focus pass back to the worksheet?

Use:

AppActivate Me.Caption

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top