+ Reply to Thread
Results 1 to 2 of 2

Switched to Windows 10 now macro won't attach file to email

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Indiana
    MS-Off Ver
    Office 2013
    Posts
    40

    Switched to Windows 10 now macro won't attach file to email

    I have the following macro:

    Please Login or Register  to view this content.
    When previously on Windows 7, it worked just fine attaching the file. Furthermore, I have an identical macro with the same attachment address with the exception that "subfolder-1" would instead be "subfolder-2", and that macro works as expected after switching to Windows 10.

    What is also odd, is that if the attachment does NOT exist based on the path I provide, a mail item won't be created in the first place. When I try to load other macros where I know the attachment does NOT exist, as expected, the mail item won't load at all . In this instance, the mail item is created (so Outlook is finding the attachment), but in the Compose window there is no attachment on the email.

    The only difference I can see at all between the macro #2 that successfully attaches from "subfolder-2" versus macro #1 that fails to attach from "subfolder-1", is the attachment in subfolder-2 is 21KB in size, where the attachment in subfolder-1 is 74KB in size. This honestly should have no bearing on Outlook attaching the file, but that is the only variance I can see at all.

    I've compared both macros with a fine tooth comb, both look identical with the exception of referencing a different subdolder, and the fact that Outlook is creating the mail item tells me it knows it's there, it's just not attaching it. Again only change is switching from Windows 7 to Windows 10 (both had Office 365 Outlook 2016 on them). Lost on what to do here???

  2. #2
    Forum Contributor
    Join Date
    08-27-2006
    Posts
    136

    Re: Switched to Windows 10 now macro won't attach file to email

    Remove On Error Resume Next permanently. Errors will no longer be bypassed.
    To mark "Solved" go to Thread Tools.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-05-2016, 02:33 PM
  2. [SOLVED] Macro to attach an additional file to and outlook email
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2014, 01:27 PM
  3. attach different worksheet and email them tdifferent email address through macro/vba/addin
    By arunverma004 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-03-2014, 08:20 AM
  4. SaveAs PDF and attach to email macro won't attach?!
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2012, 05:28 PM
  5. Help! Macro to Generate email in Lotus Notes and automatically attach a file
    By elpollo87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-27-2012, 10:19 AM
  6. Email workbook AND attach a separate file to the email
    By sgreni in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2009, 06:48 PM
  7. How to attach a local file to email using macro?
    By tanks1308 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2007, 12:33 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1