Results 1 to 4 of 4
  1. #1
    Jamescdawson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    South Wales, UK
    Posts
    98

    email button is grey-ed out

    I have a function in my database that generates a report for a given customer name and date range. It's usually a single page report. Once created and displayed on screen, the user would normally click on the Email button in the ribbon. This would bring up a menu of file attachment options.... The user would normally choose .pdf The emailer window would then be displayed with the report appearing in the attachment field. An email address and covering note would be entered and the emai sent.



    All Good

    For some reason, this has stopped working and when I click the email button, I am told I need to configure my computer for email. (!?!) Another user tells me that the email button has been grey-ed out on her ribbon. She recently had a new computer and the latest version of Outlook installed.

    I am sill using the same version I always have, so I'm baffled as to why this would happen.

    Any pointers how I "connect" the email button in the ribbon to the database ??

    Jimbo

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    why not just create a 'email this report' button on your form. If the whole goal of even opening the report is to email it you can email it with a button click using something like

    docmd.sendobject blah blah

    or other email method (sendobject won't allow multiple attachments for example)

  3. #3
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2013 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    This can happen when the Access version and the Outlook version are not the same. As indicated above creating a button using DoCmd.SendObject will bypass that using whatever version of Outlook is installed. Or, you could use a Function that uses Late Binding which will also use the version of Outlook installed.
    Last edited by GinaWhipp; 07-30-2019 at 12:34 PM. Reason: Typo

  4. #4
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Or you could use collaborative data objects (CDO) to send email directly from Access bypassing Outlook completely
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. Replies: 4
    Last Post: 07-12-2018, 05:38 AM
  2. Replies: 5
    Last Post: 05-07-2014, 09:25 AM
  3. Email clickable button
    By Danzig in forum Access
    Replies: 21
    Last Post: 10-30-2010, 05:10 PM
  4. Email button.
    By emccalment in forum Access
    Replies: 3
    Last Post: 02-19-2010, 04:14 PM
  5. email contact button
    By nwalke in forum Programming
    Replies: 3
    Last Post: 07-02-2009, 07:11 AM

Posting Permissions

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