Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Open MS Office Outlook


Hi,
Here's my code to open the MS Office 2000 Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead of
my MS office Outlook. It's there a sitting to change the
default to Ms office 2000?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Open MS Office Outlook

Houm,

Outlook express is set as your default mail handler, change this to Outlook
proper, and things should be cured.


HTH

Neil
www.nwarwick.co.uk

"Houm" wrote:


Hi,
Here's my code to open the MS Office 2000 Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead of
my MS office Outlook. It's there a sitting to change the
default to Ms office 2000?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Open MS Office Outlook


Hi, Thanks. But Where can I change the default?

-----Original Message-----
Houm,

Outlook express is set as your default mail handler,

change this to Outlook
proper, and things should be cured.


HTH

Neil
www.nwarwick.co.uk

"Houm" wrote:


Hi,
Here's my code to open the MS Office 2000

Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead

of
my MS office Outlook. It's there a sitting to change

the
default to Ms office 2000?

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default Open MS Office Outlook

Hi,

I share the same problem: how can you know in VBA what the default email
handler is?

Thanks
Jos Vens


"Neil" schreef in bericht
...
Houm,

Outlook express is set as your default mail handler, change this to
Outlook
proper, and things should be cured.


HTH

Neil
www.nwarwick.co.uk

"Houm" wrote:


Hi,
Here's my code to open the MS Office 2000 Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead of
my MS office Outlook. It's there a sitting to change the
default to Ms office 2000?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Open MS Office Outlook

You normally set this within Outlook, usually when you start Outlook and the
E-mail handler within it will ask you if you wish to make Outlook the
default, obviously you will answer yes to this.

However, you MAY be able to do this in VBA, using the following code.

Dim objOutlook As Object
Dim objmailItem As Object

'Create the Outlook object
Set objOutlook = CreateObject("Outlook.Application")

'Access a new mail item
Set objmailItem = objOutlook.CreateItem(olmailItem)


This some VBA code I use in an Access database that starts up Outlook and
then creates a new email. You could try using this in Excel, I can't see why
it wouldn't work. If you don't want to open a new E-mail, then leave out the
last line.

I haven't tried it out myself, but I think it will be ok, let me know how
you get on.

HTH

Neil
www.nwarwick.co.uk

"Jos Vens" wrote:

Hi,

I share the same problem: how can you know in VBA what the default email
handler is?

Thanks
Jos Vens


"Neil" schreef in bericht
...
Houm,

Outlook express is set as your default mail handler, change this to
Outlook
proper, and things should be cured.


HTH

Neil
www.nwarwick.co.uk

"Houm" wrote:


Hi,
Here's my code to open the MS Office 2000 Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead of
my MS office Outlook. It's there a sitting to change the
default to Ms office 2000?






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Open MS Office Outlook

See
http://www.rondebruin.nl/mail/problems.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Neil" wrote in message ...
You normally set this within Outlook, usually when you start Outlook and the
E-mail handler within it will ask you if you wish to make Outlook the
default, obviously you will answer yes to this.

However, you MAY be able to do this in VBA, using the following code.

Dim objOutlook As Object
Dim objmailItem As Object

'Create the Outlook object
Set objOutlook = CreateObject("Outlook.Application")

'Access a new mail item
Set objmailItem = objOutlook.CreateItem(olmailItem)


This some VBA code I use in an Access database that starts up Outlook and
then creates a new email. You could try using this in Excel, I can't see why
it wouldn't work. If you don't want to open a new E-mail, then leave out the
last line.

I haven't tried it out myself, but I think it will be ok, let me know how
you get on.

HTH

Neil
www.nwarwick.co.uk

"Jos Vens" wrote:

Hi,

I share the same problem: how can you know in VBA what the default email
handler is?

Thanks
Jos Vens


"Neil" schreef in bericht
...
Houm,

Outlook express is set as your default mail handler, change this to
Outlook
proper, and things should be cured.


HTH

Neil
www.nwarwick.co.uk

"Houm" wrote:


Hi,
Here's my code to open the MS Office 2000 Outlook.

Application.Dialogs(xlDialogSendMail).Show

But when I ran it, it open the Outlook Express instead of
my MS office Outlook. It's there a sitting to change the
default to Ms office 2000?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open Excel in different windows AND open from Outlook? KimD Setting up and Configuration of Excel 0 January 25th 10 07:47 PM
eula pops up every time i open an office program. office 2003 ins. ijscholl Excel Discussion (Misc queries) 0 July 28th 09 11:54 PM
Unable to open Office 2007 files using Office 2002 XP GildaBB Excel Discussion (Misc queries) 2 July 20th 07 04:08 AM
How can I run Incredimail on Office Outlook Rudi Setting up and Configuration of Excel 1 May 30th 06 07:33 PM
excel open in outlook if outlook is running kirk Excel Discussion (Misc queries) 0 May 24th 06 06:42 PM


All times are GMT +1. The time now is 09:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"