• 0
Sign in to follow this  
gvilella22

ANEXAR CORPO DE EMAIL

Question

Bom dia, estou com um problema e não consigo resolver, já tentei de tudo.

Bom, envio emails uma vez por semana, posso ter de 3 a 160 correspondentes. eu criei a query porem não consigo anexar a ela o corpo de email. alguém pode me ajudar?

segue codigo.

estou enviando o referente a um cliente, eu só replico o código varias vezes.

ActiveSheet.Range("$A$1:$M$1694").AutoFilter Field:=10, Criteria1:= _
        "LJ_BA_SALVADOR_AEROPORTO"
    Range("A1").Select
    Range(Selection, Selection.End(xlDown)).Select
    Range(Selection, Selection.End(xlToRight)).Select
    Range("A1:M1700").Select
    Selection.Copy
    ChDir "C:\Users\rodolfo.ribas\Desktop\Testes_Email"
    Workbooks.Open Filename:= _
        "C:\Users\rodolfo.ribas\Desktop\Testes_Email\LJ_BA_SALVADOR_AEROPORTO.xlsm"

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this