running of external application

  • Thread starter Thread starter Debby Bunce
  • Start date Start date
D

Debby Bunce

hi all,


can somebody point me in the right direction of starting an en external
application ie microsoft outlook with an excel 2003 spreadsheet please

cheers


steve
 
To start Outlook, all you need is

Dim oOL As Object

Set oOL = CreateObject("Outlook.Application")
oOL.Visible = True

What do you want to do with it?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
possibly run an application when my spreadsheet has been updated/ or
notified using a macro

rgds


steve
 
You mean you don't want Outlook now?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Bob

yes i do want outlook to run but i want it run after i have updated and
saved my spreadsheet
but i want it to do this via a macro

so when i write the macro it will save the xls file and run outlook

hope that explains a bit better


rgds


steve
 
Dim oOL As Object

Activeworkbook.Save
Set oOL = CreateObject("Outlook.Application")
oOL.Visible = True


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
bob

thanks



steve



Bob Phillips said:
Dim oOL As Object

Activeworkbook.Save
Set oOL = CreateObject("Outlook.Application")
oOL.Visible = True


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Back
Top