Search results

  1. R

    Outlook 2013 VB rule to auto save attachments with different file types

    Sorry I'm a little more confused and the .doc is actually xxxx.thedate.rp.doc and I need to keep that rp in the save file. I'm just not sure how to use your reference above.
  2. R

    Outlook 2013 VB rule to auto save attachments with different file types

    Wow! that worked - duh! but if I wanted to add another file type to that would I write it like this: Dim objAtt As Outlook.Attachment For Each objAtt In Item.Attachments If InStr(objAtt.DisplayName, ".xml", "*.doc") Then objAtt.SaveAsFile saveFolder & "\" & objAtt.DisplayName Else...
  3. R

    Outlook 2013 VB rule to auto save attachments with different file types

    I have a script in place: Private Declare Sub AppSleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long) Public Sub PauseApp(PauseInSeconds As Long) Call AppSleep(PauseInSeconds * 1000) End Sub Public Sub saveAttachtoDisk(Item As Outlook.MailItem) Dim saveFolder As String...
Back
Top