+ Reply to Thread
Results 1 to 2 of 2

Code works for outlook 2010 but not 2013

  1. #1
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Code works for outlook 2010 but not 2013

    i have the following code...

    Please Login or Register  to view this content.
    Problem is that this works fine on my computer running outlook 2010, but doesn't work on a co-workers running 2013... it doesn't bug, it just doesn't send the email...

    Any ideas? i would like it to send on either 2010 of 2013, but if not possible, 2013 is better.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Code works for outlook 2010 but not 2013

    I ran your code and it ran fine in Excel 2013.

    However, you have not shown all your code. It might help to show declarations--even better would be all the code in the entire Sub.

    Also be aware that there are many differences between two computers, and the version of Excel might not be the issue here. The most obvious thing is the existence of the folder. I did not actually create this folder, create an attachment, etc., etc., but I got this string as the file string using these values:

    Folder=testfolder
    SONumber=99
    SoldTo=testclient

    and got this path. Does this look like what you are expecting?

    testfolderSalesOrders\1. Unscheduled\SalesOrder 99-testclient.pdf

    By the way, why start a string with the null string?
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. VBA Code Works in Excel 2010 but not Excel 2013
    By drewmey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2015, 07:17 PM
  2. Excel 4.0 macro works in 2010 but is broken in 2013
    By gregsedwards in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-04-2014, 05:48 PM
  3. Excel 2007 works but not 2010 or 2013
    By Miliano in forum Excel General
    Replies: 1
    Last Post: 10-02-2014, 03:20 AM
  4. [SOLVED] Macro works in 2010&2013 but not Excel 2003
    By Mattiac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2014, 03:12 AM
  5. Replies: 10
    Last Post: 08-20-2013, 01:02 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