Fix compiler error

%3CLINGO-SUB%20id%3D%22lingo-sub-3518919%22%20slang%3D%22en-US%22%3EFix%20compiler%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3518919%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20help%20with%20the%20following%3A%3C%2FP%3E%3CP%3ESub%20EmailAspdf()%3C%2FP%3E%3CP%3EDim%20EApp%20As%20Object%3CBR%20%2F%3ESet%20EApp%20%3D%20CreateObject(%22Outlook.Application%22)%3C%2FP%3E%3CP%3EDim%20EItem%20As%20Object%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20get%20macro%20sent%20email%20attachment%20through%20office%20365%20outlook%20instead%20of%20Outlook%202010.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3518919%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I need help with the following:

Sub EmailAspdf()

Dim EApp As Object
Set EApp = CreateObject("Outlook.Application")

Dim EItem As Object

 

I tried to get macro sent email attachment through office 365 outlook instead of Outlook 2010.

 

0 Replies