Results 1 to 5 of 5

Thread: Save an Excel file into PDF with VBA

  1. #1
    Join Date
    Dec 2008
    Posts
    42

    Save an Excel file into PDF with VBA

    Hello,

    At the closure of an Excel file, it can record in xls and pdf?

    Is there a VBA code for this?

    Thank you

  2. #2
    Join Date
    Oct 2008
    Posts
    77

    Re: Save an Excel file into PDF with VBA

    I do this all the time using CutePDF.

    Try that.

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Save an Excel file into PDF with VBA

    Quote Originally Posted by wasim View Post

    At the closure of an Excel file, it can record in xls and pdf?
    aftab1

    But you can do a code on the VBA macro
    Code:
    Private Sub Workbook_BeforeClose (Cancel As Boolean)
    that records in PDF, then recorded xls

  4. #4
    Join Date
    Dec 2008
    Posts
    42

    Re: Save an Excel file into PDF with VBA

    Hello,

    But we must go through mandatory Acrobat? In an Excel spreadsheet when I click "Save as," I do not know what format I have to apply in my Macro, the PDF format does not exist.
    Thank you

  5. #5
    Join Date
    Mar 2008
    Posts
    198

    Re: Save an Excel file into PDF with VBA

    Hi, if you have Excel 2007 with the inclusion of additional downloadable
    http://www.microsoft.com/downloads/d...displaylang=en
    And you can also use PDFCreator.

Similar Threads

  1. Getting Error Message when I try to save file in Excel
    By Aza in forum MS Office Support
    Replies: 2
    Last Post: 23-02-2012, 02:08 PM
  2. Excel Takes Long time to save a file
    By (Cowherd) in forum Windows Software
    Replies: 2
    Last Post: 21-01-2012, 01:44 PM
  3. How to save excel file as Database 3
    By Aarti C in forum Windows Software
    Replies: 3
    Last Post: 08-01-2012, 01:54 PM
  4. How to save excel file as pdf?
    By Imtiyaz in forum Tips & Tweaks
    Replies: 5
    Last Post: 27-07-2011, 01:41 AM
  5. Open Excel file and save as .xlsx using VB code
    By Bisujaksha in forum Software Development
    Replies: 3
    Last Post: 11-06-2009, 08:06 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
  •  
Page generated in 1,713,242,524.22829 seconds with 17 queries