+ Reply to Thread
Results 1 to 2 of 2

Creating PDF file from Excel

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    Denmark
    Posts
    1

    Creating PDF file from Excel

    Hi

    I am running Excel (Office 2007) with the posibility to Export to PDF

    I am trying to create a macro/button that:

    Saves a workbook as a PDF file
    - With a name that I built from the workbook
    - in a folder I build from the workbook

    If the folder exist OK
    if the folder does not exist - ask to create it
    If the file already exist in the folder - ask to overwrite or not
    If the file does not exist - create it and tell

    - publich the pdf



    I have tried several things with the export function but I have troubles with the error controls and things going on unatended

    Anybody have a good idea

    /lars

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    There's some instructions for creating a PDF in 2007 here

    http://www.excel-it.com/Excel%202007/excel_2007.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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. Replies: 1
    Last Post: 10-02-2007, 04:10 AM
  2. Replies: 0
    Last Post: 09-26-2007, 11:52 AM
  3. mutual exclusive write to Excel file
    By extreme in forum Excel General
    Replies: 4
    Last Post: 06-18-2007, 02:36 AM
  4. shifting online data comes to excel as per formula with very minimum timelag
    By cramatr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2007, 10:08 PM
  5. Creating a stamp of who opened a file in directory
    By AmyTaylor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2006, 11:23 PM

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