From: Sharkbyte on 26 Apr 2010 13:54 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 > . >
First
|
Prev
|
Pages: 1 2 Prev: Trouble with “… attempting to change the same data at the same tim Next: xx |