Link to home
Start Free TrialLog in
Avatar of touyets
touyets

asked on

Error 91 with an Outlook macro

Hi, I found a macro I wanted to use with Outlook on this website but couldn't make it work. It always said it had a runtime error '91' with this line being the problem:
    Set objItem = Application.ActiveInspector.CurrentItem

The original webpage was there:
https://www.experts-exchange.com/questions/21522768/Automate-sending-email-to-individual-recipients-from-a-Excel-based-distribution-list-in-Outlook-2002.html#discussion

the code is at the bottom of the page as the accepted solution.
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of touyets
touyets

ASKER

Thanks. Sorted now