Re: Attachment Icon position
- From: "Dmitry Streblechenko" <dmitry@xxxxxxxxxxx>
- Date: Tue, 10 May 2005 14:09:05 -0700
Yes, CR/LF characters are not any different from other characters.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"GrannyM" <GrannyM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D5429EF-BA81-4507-986B-FA0723B0F174@xxxxxxxxxxxxxxxx
> That makes sense. Thanks! So, if I have 500 characters in my first
> paragraph, then have:
> Chr(13) & Chr(10)
> and then a 2nd paragraph with 250 characters, and I want my icon to fall
> between the 2 paragraphs, I should probably change the last line to
> something
> like:
> chr(13) & chr(10) & "a" & chr(13) & char(10)
> then set my position as 503 to replace the "a" with the icon?
>
> "Dmitry Streblechenko" wrote:
>
>> It is the eposition within the text body. Say, if you specify 261, the
>> character at the position 261 in thee message body will be replaced with
>> the
>> attachment icon.
>> Note that attachment position only applies to the RTF formatted e-mails.
>> Plain text and HTML messages always display attachments separately.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "GrannyM" <GrannyM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:0DF6EDC3-AEDE-40D5-B2F7-076C6FD3F2A2@xxxxxxxxxxxxxxxx
>> > I'm not very familiar with outlook and I'm having a problem getting my
>> > attachment icons to fall in the correct place in my email. After
>> > adding
>> > the
>> > body text with:
>> > SafeItem.Body = Body$
>> > I add the attachment with:
>> > SafeItem.Attachments.Add attach1$, olByValue, 500, "Notice"
>> > I've not been able to find any documentation on the position parameter
>> > to
>> > help me determine where in the email the attachment icon will be
>> > located.
>> > Could someone please recommend a helpful reference? Current, I put in
>> > a
>> > number, run the macro, change the number, run the macro, etc. until it
>> > finally falls in the correct position. If it ever does.
>> >
>>
>>
>>
.
- Follow-Ups:
- Re: Attachment Icon position
- From: GrannyM
- Re: Attachment Icon position
- References:
- Attachment Icon position
- From: GrannyM
- Re: Attachment Icon position
- From: Dmitry Streblechenko
- Re: Attachment Icon position
- From: GrannyM
- Attachment Icon position
- Prev by Date: Metadata Extract Program for MSG files
- Next by Date: Outlook Profile automated setup
- Previous by thread: Re: Attachment Icon position
- Next by thread: Re: Attachment Icon position
- Index(es):
Relevant Pages
|