Condividi:        

[macro excel] allegare foglio attivo a mail

Vuoi potenziare i tuoi documenti Word? Non sai come si fa una macro in Excel? Devi creare una presentazione in PowerPoint?
Oppure sei passato a OpenOffice e non sei sicuro di come lavorare al meglio?

Moderatori: Anthony47, Flash30005

Re: [macro excel] allegare foglio attivo a mail

Postdi sprinterone » 22/10/10 09:21

buongiorno a tutti.
Codice: Seleziona tutto
BodyText = ""
BodyText = Range("A19").Text & vbCrLf
BodyText = Range("A20").Text & vbCrLf
BodyText = BodyText & Range("A21").Text & vbCrLf
BodyText = BodyText & Range("A22") & " " & Range("E22") & " " & Range("F22") & " " & Range("G22") & " " & Range("H22") & " " & Range("I22").Text & vbCrLf
BodyText = BodyText & Range("A23").Text & vbCrLf
BodyText = BodyText & Range("A24").Text & vbCrLf
BodyText = BodyText & Range("A25").Text & vbCrLf
BodyText = BodyText & Range("A26").Text & vbCrLf
BodyText = BodyText & Range("A27").Text & vbCrLf
BodyText = BodyText & Range("A28").Text & vbCrLf
BodyText = BodyText & Range("A29").Text & vbCrLf
BodyText = BodyText & Range("A30").Text & vbCrLf
BodyText = BodyText & Range("A31").Text & vbCrLf
BodyText = BodyText & Range("A32").Text & vbCrLf
Next RR

Ho risolto cosi, in maniera molto elementare ma per me molto soddifacente.
La mail, o meglio il corpo, si presenta come volevo, semplice e come avevo in mente.
Un grazie ancora
Giancarlo
Avatar utente
sprinterone
Utente Junior
 
Post: 51
Iscritto il: 26/01/10 10:24
Località: Monselice

Sponsor
 

Precedente

Torna a Applicazioni Office Windows


Topic correlati a "[macro excel] allegare foglio attivo a mail":


Chi c’è in linea

Visitano il forum: raimea e 76 ospiti