+ Reply to Thread
Results 1 to 3 of 3

Save As PDF on Mac

  1. #1
    Registered User
    Join Date
    09-28-2018
    Location
    Washington, DC
    MS-Off Ver
    2016 Mac
    Posts
    1

    Save As PDF on Mac

    Hello!

    I have been trying to find the VBA code for the Mac as it is working well on Windows. Here is the VBA code for Windows:

    Please Login or Register  to view this content.
    This code will save the entire worksheet, I did change ThisWorksbook to ThisActivesheet, but it did not work as I only want to save one active sheet called "Invoice," not the entire worksheet. I would like to know how to save as the PDF on Mac? I also would like to see if it is possible for me to type a filename manually after before I save the PDF. Is it possible to save it under Documents rather than on the desktop? It would be challenging to track invoices if I use to like this invoice 28.09.2018.pdf. I want to input the name company, invoice #, and date by manually. Last, when I close the Excel and open it again, the invoice number will be remain. Is there a way to increment the invoice number when opening the Excel?

    Thanks in advance!
    Last edited by alansidman; 09-29-2018 at 12:28 AM.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Save As PDF on Mac

    Cross-posted at: https://www.mrexcel.com/forum/excel-...e-pdf-mac.html
    Please read Excel Forum's Cross-Posting policy in rule 8: http://www.excelforum.com/forum-rule...rum-rules.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,937

    Re: Save As PDF on Mac

    Obviously, you have not bothered to read the forum rules that you agreed to when you joined this forum. Please do so now.

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Excel doesn't change the cell format on save through the workbook save button
    By mitko1994 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-16-2017, 03:09 PM
  2. Replies: 1
    Last Post: 04-29-2016, 11:55 AM
  3. [SOLVED] Need to loop a macro to save images to file - but save to user defined directory.
    By superfurry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2015, 07:49 AM
  4. Templates - Forcing Save as rather than Save on first save
    By Spitinyari in forum Excel General
    Replies: 4
    Last Post: 04-26-2012, 11:32 AM
  5. Disable Save As and Save - enable Save via button
    By LampCommandr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-07-2011, 05:42 PM
  6. [SOLVED] How to diasble save and save as menu but allow a save button
    By hon123456 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2006, 04:55 AM

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