From: Sharkbyte on
Hans Up

The actual line ended up being

..AddAttachment ("c:\tsw\" & gblReportName)

Thanks for the help.

Sharkbyte


"Hans Up" wrote:

> Hans Up wrote:
>
> > I haven't tried this myself, but it looks to me like AddAttachment is a
> > method rather than a property. You can't assign a value (as in .method
> > = value) to property. Try it like this:
> >
> > .AddAttachment ("c:\tsw\" & gblReportName)
>
> I meant to say "to a method" instead of "to property".
>
> And I don't if the parentheses would be required. So maybe try it this
> way, too:
>
> ..AddAttachment (\"c:\tsw\" & gblReportName
> .
>