Results 1 to 4 of 4
  1. #1
    BezAcess is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    2

    PDF Attachment working for some, not all


    Helllo,

    I'm having a problem with a new database when it comes to attaching pdfs. Below is a screen shot of the macro i'm using;

    Click image for larger version. 

Name:	Macro.jpg 
Views:	11 
Size:	24.9 KB 
ID:	7442

    When I run this on my computer it works fine, the dialog box pops up asking what I want to save the object as and after selecting pdf the e-mail is created with the correct address, subject and the pdf attached.

    The problem i'm having is that other users are not getting the dialog box to save the file, they are instead just getting the e-mail. The e-mail still has the correct subject and e-mail address automatically entered, there's just no file attached.

    I'm not sure if the problem lies in the database or user settings so any and all suggestions are welcome.

    Kind Regards,

    David

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Might be issue with user network permissions on folder where pdf is saved, but then should get error message. Did you verify that the pdf is not even created? Sorry, don't really know why the pdf does not attach.

    I don't use macros, only VBA, easier to debug. Review https://www.accessforums.net/showthr...light=outputto
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    BezAcess is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    2
    Hi June7,

    Thanks for the response, my VBA is really basic which is why i stick to macros. The PDF isn't created when other users run the database on their machines. But there is no error message either, it just goes straight to the e-mail with no option to attach the object, which in this case is a form.

    I'm not looking to save the pdf to a location on the network, just e-mail the completed form back as a summary sheet.

    David

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    The most I could do is test your code on my machine if you want to provide project. Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 16
    Last Post: 04-30-2012, 07:12 AM
  2. Replies: 1
    Last Post: 07-12-2011, 10:05 AM
  3. Add an Attachment
    By mwabbe in forum Forms
    Replies: 7
    Last Post: 10-18-2010, 09:54 AM
  4. attachment help!
    By ninachopper in forum Access
    Replies: 1
    Last Post: 08-01-2010, 12:03 AM
  5. Attachment data type INSERT INTO not working
    By LouisLouis in forum Programming
    Replies: 0
    Last Post: 09-27-2009, 02:23 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
  •  
Other Forums: Microsoft Office Forums