+ Reply to Thread
Results 1 to 3 of 3

Save as .PDF not working

  1. #1
    Forum Contributor
    Join Date
    08-31-2007
    MS-Off Ver
    2010
    Posts
    130

    Save as .PDF not working

    I am trying to save my current work sheet as a PDF file. It seems to work until I go to open the file through "Adobe Reader".
    That's when I get the following error


    "The document is damaged and cannot be repaired. Adobe Reader could not open because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    Here is my code

    Please Login or Register  to view this content.
    Have I missed something?
    Last edited by zbor; 05-19-2014 at 06:35 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Save as .PDF not working

    Use the macro recorder then change the code as you want
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Save as .PDF not working

    Hi, Wouldsman,

    indeed a you canīt save directly using SaveAs but would need to use ExportAsFixedFormat:

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Click SAVE to save new file - not working correctly
    By vettenfun in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2011, 12:38 PM
  2. Save As stopped working after Save As csv
    By pokeyarw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-28-2010, 10:18 PM
  3. Save/Save As not working in Excel 2003
    By CorneliusM in forum Excel General
    Replies: 0
    Last Post: 02-01-2010, 11:12 AM
  4. Save as isn't working
    By Kim in forum Excel General
    Replies: 1
    Last Post: 04-21-2006, 04:35 PM
  5. Worksheet Buttons (Save, Save As, Cut, Paste, etc.) Not Working
    By SuzieQ12345 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-21-2005, 11:06 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