A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Saving attachments with OL2007



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 13th 07, 04:53 PM posted to microsoft.public.outlook.program_vba
steve
external usenet poster
 
Posts: 317
Default Saving attachments with OL2007

We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve
Ads
  #2  
Old June 13th 07, 06:19 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Saving attachments with OL2007

It might help if you showed your code.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"Steve" wrote in message ...
We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve

  #3  
Old June 13th 07, 06:38 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Saving attachments with OL2007

Are you using the run a macro action in your rule?

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve" wrote:

We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve

  #4  
Old June 13th 07, 11:50 PM posted to microsoft.public.outlook.program_vba
steve
external usenet poster
 
Posts: 317
Default Saving attachments with OL2007

No, i am using "Run a script"

The VB 'script' for testing just is a msgbox at the moment. I get the
message before the inbox shows any message arriving.

I have noticed that if i turn off "Cached Exchange Mode" the problem goes
away but i dont know why. Using XP (x64) and OL 2007 if that make any diff.

"Eric Legault [MVP - Outlook]" wrote:

Are you using the run a macro action in your rule?

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve" wrote:

We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve

  #5  
Old June 13th 07, 11:52 PM posted to microsoft.public.outlook.program_vba
steve
external usenet poster
 
Posts: 317
Default Saving attachments with OL2007

The VB 'script' for testing just is a msgbox at the moment. I get the message
before the inbox shows any message arriving.

I have noticed that if i turn off "Cached Exchange Mode" the problem goes
away but i dont know why. Using XP (x64) and OL 2007 if that make any diff.


"Sue Mosher [MVP-Outlook]" wrote:

It might help if you showed your code.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"Steve" wrote in message ...
We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve


  #6  
Old June 14th 07, 05:21 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Saving attachments with OL2007

Can you not get access to the Item object that's passed to the procedure?
Can you show your code please?

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve" wrote:

No, i am using "Run a script"

The VB 'script' for testing just is a msgbox at the moment. I get the
message before the inbox shows any message arriving.

I have noticed that if i turn off "Cached Exchange Mode" the problem goes
away but i dont know why. Using XP (x64) and OL 2007 if that make any diff.

"Eric Legault [MVP - Outlook]" wrote:

Are you using the run a macro action in your rule?

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Steve" wrote:

We have a rule which runs based on a subject content which runs some vba to
save the attachment. Since upgrading from 2003 to 2007, the rule kicks in
before the file appears in the inbox, the attachment isnt saved as the vba
cant see it, the vba finishes and then the email appears in the inbox!

For info, we ar using a personal folder, even though we are on exchange.

Help please, Steve

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving Attachments Phil Dawes Outlook Express 3 August 28th 06 01:13 PM
saving attachments T Outlook Express 1 April 16th 06 04:16 PM
saving attachments andy Outlook Express 2 February 15th 06 12:51 PM
Saving Attachments Raj Mazumdar Outlook Express 14 January 22nd 06 11:40 AM
Saving Attachments [email protected] Add-ins for Outlook 0 January 11th 06 07:27 PM


All times are GMT +1. The time now is 07:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.