Results 1 to 4 of 4

EmailDatabaseObject

  1. #1
    mick3911 is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Posts
    16

    EmailDatabaseObject

    Hi all,

    Im hoping that you can help me a predicament that I have.

    I have built a DB for my sports club listing equipment andequipment on loan.

    To cut a long story short, I have created a report from a querywhich I can e-mail using the e-mail address in a text box by a command buttonusing the macro EmailDatabaseObject.

    See my macro design in the image below.

    Click image for larger version. 

Name:	Macro.jpg 
Views:	17 
Size:	31.9 KB 
ID:	35000


    This works well but I sometimes need to e-mail the report tomore than one e-mail address but I am having a problem with the macro withregards to the To field in the macro.

    My question is how do I separate two e-mail address in themacro? I have tried , : ; / . but keep getting an invalid value message.

    The only symbol that the macro will accept is & but thiswill not separate the addresses in Outlook. See below for Outlook image.

    Click image for larger version. 

Name:	Email.jpg 
Views:	15 
Size:	37.6 KB 
ID:	35001


    Can anyone help please.

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    18,978
    Try

    =Email & ";" & Email1
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

  3. #3
    mick3911 is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2013
    Posts
    16
    Hi Paul, That's great, much appreciated. I have been pulling my hair out trying to sort this out. Many thanks

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    18,978
    Happy to help!
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. EmailDatabaseObject Help
    By jimaccessnovice in forum Macros
    Replies: 4
    Last Post: 02-27-2018, 03:51 PM
  2. EMailDatabaseObject Hangs
    By bragaglia in forum Macros
    Replies: 2
    Last Post: 02-03-2017, 01:44 PM
  3. EmailDatabaseObject Automate TO Field
    By Tlo in forum Macros
    Replies: 3
    Last Post: 06-24-2016, 10:05 AM
  4. emaildatabaseobject with date?
    By vicsaccess in forum Import/Export Data
    Replies: 5
    Last Post: 10-19-2015, 04:55 PM
  5. EmailDatabaseObject in Macro
    By Kmoney in forum Programming
    Replies: 5
    Last Post: 01-13-2012, 02:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums