Re: Outlook 2007 error with MS10-045 KB980376 - 'The attachment size exceeds the allowable limit'

Not open for further replies.

Tech Ben

I ran into this same problem where a user wanted to modify a recurring meeting with no end date. I looked at the appointment item in the VBA macro window and saw that it had 21 attachments that were that had accumilated but were not showing on the actual appointment. The user had sent out a number of attachments in the past but had later removed them. I wrote some VBA code for outlook to remove all of the attachments for the selected appointment. It is definately easier to use this than remove a patch and then re-install it. Here is the code for any that are interested.

Sub Delete_All_Attachments_From_Appointment()
On Error Resume Next

Select Case TypeName(Application.ActiveWindow)
Case "Explorer"

If TypeName(ActiveExplorer.Selection.Item(1)) = "AppointmentItem" Then
Set GetApptItem = ActiveExplorer.Selection.Item(1)
MsgBox "Error an appointment is not selected."
Exit Sub
End If

Case "Inspector"
If TypeName(ActiveInspector.CurrentItem) = "AppointmentItem" Then
Set GetApptItem = ActiveInspector.CurrentItem
MsgBox "Error an appointment is not selected."
Exit Sub
End If
End Select
If GetApptItem.Attachments.Count = 0 Then
MsgBox "This appointment has no attachments."
Exit Sub
End If
intResponse = MsgBox("Subject: " & GetApptItem.Subject & vbCr & _
"Attachments: " & GetApptItem.Attachments.Count & vbCr & _
"Total Size: " & GetApptItem.Size & " bytes" & vbCr & vbCr & _
"This will remove all attachments from this appointment, do you want to continue?", vbYesNo, "Are you sure?")
If intResponse = vbYes Then
While GetApptItem.Attachments.Count > 0
End If
On Error GoTo 0
'MsgBox "test"
End Sub

Not open for further replies.
Thread starter Similar threads Forum Replies Date
vodkasoda Object could not be found Error in Outlook 2007 Outlook VBA and Custom Forms 5
HenWin Outlook 2007 and Comcast certificate error Using Outlook 1
E Microsoft Office Outlook 2007 Send Error Using Outlook 11
J Outlook 2007 Error sharing Calendar: Error while preparing to send sharing message Using accounts in Outlook 2
Jon Bakrley Outlook 2013 and Exchange 2007, Out of the office error message Using Outlook 8
J New Outlook 2007 form - try to send and get error Operation Failed Outlook VBA and Custom Forms 11
T Error" There are no items to show in this view" for Outlook 2007 with 16GB pst Using Outlook 2
R microsoft outlook 2007 error Using Outlook 1
F Outlook 2007 Certificate Error for Provider Using Outlook 10
J Outlook 2007 Failure to Send Message<=Sending reported Error 0x80040201 Using Outlook 1
J [outlook-users] outlook 2007 Sp2: Error message to quit outlook Using Outlook 9
P Send/Receive error in Outlook 2007 Using Outlook 2
D Outlook 2007 - MeetingPlace Express - Calendar error Using Outlook 1
G Problem: MS Outlook 2007 will not open. Error with file c:/ Using Outlook 2
H Outlook 2007 - Error Message on send Using Outlook 2
J After Window update of 12/15/2010, outlook 2007 gives error (0x800CCC18) when accessing gmail using Using Outlook 6
A "Item could not be found" error when attempting to send Outlook 2007 calendar event update Using Outlook 2
J Outlook 2007 Error - Freezing upon start-up, extend.dat error. Using Outlook 3
M I can receive emails but I can send emails. The error code 0x80042109 disp;ays when sending emails from Outlook 2007 on account. Using Outlook 2
S Outlook 2007 Connector - Error OxDE00006 Using Outlook 3
C Error 0x8004210E in Outlook 2007, Windows 7. Using Outlook 1
M Cannot open Outlook 2007 receive several different error messages such as Outlook has not been insta Using Outlook 1
D Error during auto-archive in Outlook 2007 Using Outlook 1
B OutlookAnywhere Proxy Cert Error, Outlook 2007 Using Outlook 1
I Outlook 2007 'not responding' Error Using Outlook 2
S I am using Outlook 2007, getting an error 0X8007000E "Out of Memory or system resources". C Using Outlook 1
S Outlook 2007 will not show files under the folders any longer when creating a hyperlink. No error messages Using Outlook 1
T Outlook 2007: Cannot open links in received emails. Get error message of "The operation has been c Using Outlook 1
T Problem with Outlook 2007 (running Vista) There was an error synchronizing your folder hierarchy. Er Using Outlook 1
C Problem with microssoft outlook 2007, Error : 8004103a. Using Outlook 2
S Error while opening MS Outlook 2007 with the message "The data file 'Personal Folder' did not closed Using Outlook 1
J Cannot start microsoft outlook 2007. Cannot open the Outlook. Get error code. Using Outlook 3
J Re: Please help correct Error on step 4 of converting Windows mail to Office Outlook 2007(already installed). Using Outlook 3
C Outlook 2007 Signature error? Using Outlook 4
E My Outlook 2007 keeps crashing (actually refuses to open completely) and giving me this error messag Using Outlook 3
K Outlook 2007 - error opening the application Using Outlook 1
E Microsoft Office Outlook Connector Setup error (2007) Using Outlook 3
D Outlook 2007 with Exchange 2010 sync error Exchange Server Administration 3
K Outlook 2007 error -0x800ccc1a cannot receive emails Using Outlook 1
X outlook 2007 error when searching Using Outlook 7
D getting error 0X80040600 when trying to send and receive emails in Outlook 2007 Using Outlook 4
J outlook 2007 stopped working error Using Outlook 1
S Outlook 2007 wont start, keep having error message. See below__ Using Outlook 2
D Outlook 2007 error and retart Using Outlook 2
D Keep receiving Sending' report error (0x80042109) in Outlook 2003 & 2007 on multilpe computers thru Using Outlook 4
S Outlook 2007. Error message Outlook.pst cannot be accessed Using Outlook 1
H Office OUtlook 2007 gives error message that says to run scanpst.exe and this is not found on my com Using Outlook 3
D Server security certificate error on Outlook 2007 Using Outlook 3
B Microsoft Office Outlook 2007 Error Updates Using Outlook 2
Similar threads