+ Reply to Thread
Results 1 to 4 of 4

Save excel worksheet as PDF

  1. #1
    Registered User
    Join Date
    08-27-2008
    Location
    UK
    Posts
    11

    Save excel worksheet as PDF

    Hi,

    I've very little VBA experience but I need to create some code that will save an excel worksheet into PDF. I have downloaded PDF creator but am unsure where to start with the code.
    The filename needs to contain specific information generated from cell E7 and the date the file was created it must also save into a folder which is the same name as cell E7.
    The worksheet that I am generating the document from is called 'Report'.

    Any help is greatly appreciated.

    N.B
    I don't have to use PDF creator, it just needs to be a free PDF creation program.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Save excel worksheet as PDF

    See http://excelguru.ca/node/21 and/or http://excelguru.ca/node/22
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-27-2008
    Location
    UK
    Posts
    11

    Re: Save excel worksheet as PDF

    Thanks shg,

    I've tried using the excel guru's code, but I get the error message compile error - Duplicate option statement.

    Any idea's how I fix this ?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Save excel worksheet as PDF

    Delete the line that shows the error.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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