Macro won't create email

DougRobertson

Active Member
Joined
Sep 22, 2009
Messages
334
Office Version
  1. 365
Platform
  1. Windows
Hello,

What a frustrating day! My hard drive died, I had to re-format / re-setup all my files and macros, and now a macro that has created email for years doesn't want to play ball.

With the code: Set otlapp = CreateObject("Outlook.Application")

It sends the error message: "ActiveX component can't create object."

Any ideas?

I'm running Excel 2010.

~ Doug
<!-- / message -->
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Do other email apps create the object?
Might check the registry for existance of Class "Outlook.Application" which should have a reference to another key of your current install version of Outlook.
If not, the Outlook installl needs to be addressed.
 
Upvote 0
Thanks T.

In realizing I was in over my head, I decided to find where the geniuses behind Office 2010 moved the Detect and Repair button to this time . . . . then ran it, and voila - the universe is back to running in sweet harmony!

Appreciate your help on this,

~ Doug
 
Upvote 0
HA!

Sorry 'bout that chief, but I'm from Rain-couver, BC, Canada. You want to talk weather? There's a reason our forests are always lush and green! :biggrin:

It could be worse though; there's a city on our prairies named Winnipeg, and they say that they have 10 months of winter, and 2 months of bad ice each year!

I hope the sun comes out in time for Wimbledon.

Rule Britannia!


~ Doug
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,348
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top