Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jul 2001
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macro mailing (2000-sr-1)

    I am trying to setup a macro that mails a form to a specific address but exceal comes back and says that I have no mail system. That is bolony because there is one installed. If I use the file-send to-mail recipeint method then it works no problem. Here is the sample of the code in word format
    Attached Files Attached Files

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Macro mailing (2000-sr-1)

    Which line errors out and what is the message? Your code worked for me in XL 97 once I substituted my e-mail address and changed the named worksheet reference to Worksheets(1). Try this code which Andrew Cronnoly posted to check for the presence of MAPI service:

    Sub IsMapi()
    MsgBox Application.MailSystem = xlMAPI
    End Sub
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

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