Results 1 to 10 of 27

Thread: Excel Template With Macro For Sending Mails And Attachment Through Outlook

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    13
    Rep Power
    0
    Sir,

    I have installed the latest office 2003 sp3 & the file format converters from microsoft but there was 2 errors observed

    it opened a window with compile error "can't find project or library" with the highlighted line "


    Yellow colour highlighted in the below code

    Sub SendMessage(strTo As String, Optional strCC As String, Optional strBCC As String, Optional strSubject As String, Optional strMessage As String, Optional strAttachmentPath As String, Optional blnShowEmailBodyWithoutSending As Boolean = False)

    Dim objOutlook As Outlook.Application

    If time permists please asssist. We use office 2003 in office.

    Thanks and Regards
    R.Ramakrishnan

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    One could use Late Binding, and work independent of the library being added as reference, but for the sake of performance, I have used Early Binding, which requires the reference library to be added.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 6
    Last Post: 06-05-2013, 11:33 PM
  2. Replies: 4
    Last Post: 03-01-2013, 10:48 PM
  3. Replies: 7
    Last Post: 08-08-2012, 10:24 AM
  4. Replies: 7
    Last Post: 05-09-2012, 11:34 PM
  5. Replies: 3
    Last Post: 02-20-2012, 12:54 AM

Tags for this Thread

Posting Permissions

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