run-time errors

  1. R

    Macro to copy email to excel - Runtime Error 91 Object Variable Not Set

    This macro is exactly what I am need, but it produces a run-time error '91': Object variable or With block variable not set The error occurs on line sText = olItem.body I am new to VBA for Outlook and do not know how to correct the error. Thanks for any help provided.