Notifications
Clear all

enviar e-mail copiando as células SELECIONADAS

3 Posts
2 Usuários
0 Reactions
744 Visualizações
(@denisw)
Posts: 64
Estimable Member
Topic starter
 

Tenho a instrução abaixo, porém preciso que seja feito com as células que eu selecionar e não celulas fixas como é atualmente.
Com certeza vcs vão conseguir me ajudar , vcs são mestres!!

Sub email1()
Dim Cells As Range
' E-MAIL 1
'
' Atalho do teclado: Ctrl+Shift+D
ActiveSheet.Range("H2:I20").Select

ActiveWorkbook.EnvelopeVisible = False
With ActiveSheet.MailEnvelope
.Introduction = "Bom dia Srs(ª)."
.Item.To = "[email protected]"
.Item.Cc = ""
.Item.Subject = "ATRASOS"
.Item.Send
End With

End Sub

 
Postado : 16/05/2014 1:18 pm
(@fernandofernandes)
Posts: 43750
Illustrious Member
 

Boa tarde!!

Tente criar uma caixa para selecionar o intervalo desejado.

Dim rngUserSelect As Range
Set rngUserSelect = Application.InputBox("Selecione seu Intervalo", Type:=8)

Att

 
Postado : 16/05/2014 1:32 pm
(@denisw)
Posts: 64
Estimable Member
Topic starter
 

Pensie nisso também , vou tentar vlw

 
Postado : 16/05/2014 2:04 pm