![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I can't get macros to run in Outlook. Even the sample macros from the help
file fail. Even this simple macro Sub MoveItems() Dim myOlApp As New Outlook.Application Dim myNameSpace As Outlook.NameSpace Set myNameSpace = myOlApp.GetNamespace("MAPI") End Sub results in Run-time error '-2147467259(80004005)': Automation error Unspecified error When I step into the macro, it fails on line 3: Set myNameSpace... Anyone have any recommendations? I upgraded from Win 2000 to Win XP, but was able to keep Outlook 2003. I also tried the Office 2007 upgrade, changed my mind, and reinstalled Outlook 2003. Would any of that have cause the wrong scripting engine to run? Any ideas at all? |
#2
|
|||
|
|||
![]()
Certainly an upgrade from Office 2003 to 2007 and then back again could mess
up lots of things. In general the MVPs recommend completely uninstalling Office 2003 before installing Office 2007 and then creating a brand new profile for Outlook 2007 (not copying an existing profile). I'd try the Office repair and see if that helps. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "mmapes" wrote in message ... I can't get macros to run in Outlook. Even the sample macros from the help file fail. Even this simple macro Sub MoveItems() Dim myOlApp As New Outlook.Application Dim myNameSpace As Outlook.NameSpace Set myNameSpace = myOlApp.GetNamespace("MAPI") End Sub results in Run-time error '-2147467259(80004005)': Automation error Unspecified error When I step into the macro, it fails on line 3: Set myNameSpace... Anyone have any recommendations? I upgraded from Win 2000 to Win XP, but was able to keep Outlook 2003. I also tried the Office 2007 upgrade, changed my mind, and reinstalled Outlook 2003. Would any of that have cause the wrong scripting engine to run? Any ideas at all? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
automation, macros ... | oldyork90 | Outlook - General Queries | 1 | September 12th 08 02:52 PM |
Outlook Automation Automation Problem Out of Memory | MikeA[_2_] | Outlook and VBA | 7 | July 30th 07 03:31 PM |
error mess in outlook after installing office 2007; operation fail | dmrg | Outlook - Installation | 0 | May 23rd 07 03:18 AM |
2 simple macros - create task from email and move email to folder | [email protected] | Outlook and VBA | 5 | February 4th 07 10:57 AM |
Automation Error | Lightknight | Outlook and VBA | 3 | April 4th 06 03:46 PM |