Results 1 to 9 of 9

Sending emails

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    Sending emails

    Yes i have read Ron de Bruin's tutorials.

    Hi,
    I'm trying to send sheets to an email.
    My code up to now saves a copy of the sheet in a file, and I send that file out.
    Unfortunatly when I run my macro it ends with the email opening, the file being attached, and I need to input the email adress. Also, i need to automatically overwrite what is in the folder.

    My code looks nothing like the one on Ron's tutorials.
    can anyone help out:



    Sub email()
    '
    ' email Macro
    ' Macro recorded 2010-01-21 by Simon
    '
    
    '
        Sheets("CP").Select
        Sheets("CP").Copy
        ActiveWorkbook.SaveAs Filename:= _
            "X:\CSPQ_maintenance\CSPQ Admin - Mark- Robert - Simon\DGRT Open tickets\CP-ouvert.xls" _
            , FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
            ReadOnlyRecommended:=False, CreateBackup:=False
        Application.Dialogs(xlDialogSendMail).Show
    End Sub
    Last edited by Sibrulotte; 01-26-2010 at 10:32 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1