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.

Envio email

publicado

Buenas

tengo un archivo que guarda la hoja en pdf y la envia por email, funciona perfectamente en office 2010


Sub envio_mail()
'envio correo pdf
Application.ScreenUpdating = True
ActiveSheet.Unprotect Password:=""

Dim npres, cliente, Email, rutapdf, LIBRO, ArchivoPdf As String
Dim ProgCorreo, CorreoSaliente As Object

With Application

.ScreenUpdating = False
.EnableEvents = False
.DisplayAlerts = False

End With

Set npres = Range("J5")
Set cliente = Range("g10")
Set Email = Range("g15")
rutapdf = "C:\SkyDrive\Documentos\presupuestos\"

ArchivoPdf = Range("F7")

Set ProgCorreo = CreateObject("Outlook.Application")
Set CorreoSaliente = ProgCorreo.CreateItem(0)


On Error Resume Next
With CorreoSaliente
.To = Email
'.To = Email & ";"
.CC = ""
.BCC = ""
.Subject = "Envío de su presupuesto nº " & npres
.ReadReceiptRequested = True
.Body = "Estimados Sres.:" & Chr(13) & _
"Nos complace realizar el envío del presupuesto del asunto, según nuestro acuerdo." _
& Chr(13) & "Atentamente..."
.Attachments.Add (ArchivoPdf)
.Display 'o .Send para enviar sin ver
End With[/CODE]

en office 2010 pongo

[CODE].To = Email[/CODE]

y funciona bien, abre el outlook y pone la direccion de correo que esta en G15, sin embargo en office 2013 no.

Tengo que poner

[CODE].To = Email & ";"[/CODE]

para que funcione

¿es normal? o soy yo que estoy haciendo algo mal

Featured Replies

No hay posts para mostrar

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.