+ Reply to Thread
Results 1 to 3 of 3

PDF Macro works with windows but not on macs

  1. #1
    Registered User
    Join Date
    05-18-2014
    MS-Off Ver
    Excel 2013 Home and Business
    Posts
    2

    PDF Macro works with windows but not on macs

    I've sent the file to 2 different windows computers and it works fine, but doesn't work with the two macs that I've sent it to.

    This is the code:

    Please Login or Register  to view this content.
    Thanks.
    Last edited by chonkies; 05-18-2014 at 05:23 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: PDF Macro works with windows but not on macs

    How does it not work?

    One thing I notice is that you are using '\' for the path separator, that's Windows specific.

    Try changing to Application.PathSeparator.

    PS Can you add code tags when posting code?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    05-18-2014
    MS-Off Ver
    Excel 2013 Home and Business
    Posts
    2

    Re: PDF Macro works with windows but not on macs

    It just says "could not create pdf".

    I changed the "\" to Application.PathSeparator and it still doesn't work.

+ 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. Macro works on Windows but not on MAC - “Can't find Project or Library”
    By dominikniki123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2013, 12:46 PM
  2. [SOLVED] Excel 2010 Macro not working on Windows 7 but same works perfectly on XP
    By rahulwagh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2013, 02:14 PM
  3. problem saving a file thru a macro it works on windows 7 but not on xp
    By kmraz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2013, 06:45 PM
  4. Excel macro that creates pdf files in Dropbox folders works inconsistently in Windows 8
    By KathyS_893 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2013, 12:03 AM
  5. Macro works fine on Windows XP, but it gives error on Vista or 7
    By maxxian in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2012, 05:43 PM

Tags for this Thread

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