![]() |
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 |
#11
|
|||
|
|||
![]()
On Fri, 3 Feb 2006 18:28:13 -0500, "Sue Mosher [MVP-Outlook]"
wrote: What errror? What's the mail environment? Do you see any different behavior with different format messages? runtime error 91 Object variable or with block variable not st The code is Dim i As Integer i = Application.ActiveInspector.CurrentItem.Attachment s.Count MsgBox i and at this stage the email window is not opened so that you can read it. I get the feeling that the macro is trying to runn way too early in the email open process If i wait untill the email is readable then run the macro via the tools/macro menu in the email window, the code works and returns the number of attachments. At the moment I'm just trying to find the correct place to trigger the macro, then I'll worry about the macro code |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
My Outlook 2003 is running very slow, why? | com | Outlook - General Queries | 6 | May 15th 07 05:40 PM |
Is outlook meant to be left running? | [email protected] | Outlook - General Queries | 1 | February 28th 06 04:20 AM |
Create a re-running rule | JDR | Outlook - General Queries | 2 | February 15th 06 10:17 PM |
Running rules on mailbox other than the default | Brian Beck | Outlook - General Queries | 1 | February 3rd 06 10:26 PM |
an outlook2000 macro programming question..... | Alont | Outlook - General Queries | 0 | January 8th 06 04:14 AM |