Search results

  1. O

    modify vba to run it as script rule

    I'm trying to modify the following code to use it as rule Script but for some reason I can not figure it out how to modify the following line For Each Item In Application.ActiveExplorer.Selection here is the full code Option Explicit Public Sub UpdateReport(Item As Outlook.MailItem) Dim...
  2. O

    Reply and Add CC

    I am getting Error when i add olCC, what am i doing wrong? Option Explicit '// Auto Replay with notes and email body- run Action Script '// http://www.slipstick.com/outlook/rules/run-script-rule-reply-message/ Public Sub ReplywithNote(Item As Outlook.MailItem) Dim olInspector As...
  3. O

    VBA Move EMail

    help please, for some reason I can't get the email to move. it saves & prints but no errors either. Code is in ThisOutlookSession. '// use Declare PtrSafe Function with 64-bit Outlook Private Declare Function ShellExecute Lib "shell32.dll" Alias _ "ShellExecuteA" (ByVal Hwnd As Long, ByVal...
  4. O

    using macro to send attachments

    I am using macro to send reports saved in c:\Reports and then move the files to c:\Complete once its send out. I was wondering if there is a way to auto run the macro if report files become available at C:\Reports folder. Or a macro code that can watch C:\Reports folder and then call the macro...
Back
Top