You are running the code in Outlook? Which line is flagged in error?