Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Macro para enviar correo sin formato

publicado

ya tengo mi macro que envia correos masivamente desde el excel. Por un tema operativo, necesito que este correo antes de enviarse se convierta en texto sin formato.

¿Cual sería el comando?

Featured Replies

publicado

¿Como tienes tu código en la parte donde envias el correo?

publicado
  • Autor
¿Como tienes tu código en la parte donde envias el correo?

Este es mi codigo:

Sub enviar_mailMSExel(funcion As String, rol As String, matricula As String)

Sheets("Correo_HD").Select

Dim I As Integer

Dim strDate As String, wKTemp As Workbook, strBorrar

Sheets("Correo_HD").Select

ActiveSheet.Copy

Set wKTemp = ActiveWorkbook

With wKTemp

strDate = Format(Date, "dd-mm-yy") & " " & Format(Time, "h-mm-ss")

.SaveAs ThisWorkbook.Path & Application.PathSeparator & "Part of " & ThisWorkbook.Name _

& " " & strDate & ".xls"

strBorrar = .FullName

.Close

End With

Cells(15, 2) = funcion

Cells(14, 2) = matricula

Cells(13, 2) = rol

Cells(8, 2) = matricula

correo = "Dirección de correo:

[TABLE=class: outer_border, width: 75%]

[TR]

[TD]Únicamente los administradores pueden visualizar esta información.

[/TD]

[/TR]

[/TABLE]

"

ActiveSheet.Range("A1:B16").Select

ActiveWorkbook.EnvelopeVisible = True

Set sf = CreateObject("Scripting.FileSystemObject")

Set a = sf.GetFolder(ThisWorkbook.Path)

With ActiveSheet.MailEnvelope

.Item.To = correo

.Item.bcc = "Dirección de correo:

[TABLE=class: outer_border, width: 75%]

[TR]

[TD]Únicamente los administradores pueden visualizar esta información.

[/TD]

[/TR]

[/TABLE]

"

.Item.Subject = "Request"

'End With

.Item.Send

Kill strBorrar

End With

publicado

Algunas partes del código fueron bloqueadas, podrás subir tu archivo para verlo? Me quedo incompleto con esto:

[TABLE=class: cms_table_outer_border, width: 75%]

[TR]

[TD]Únicamente los administradores pueden visualizar esta información.

[/TD]

[/TR]

[/TABLE]

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.