Results 1 to 7 of 7

Saving as pdf files from opening an excel files

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Los Angeles, USA
    MS-Off Ver
    2003, 2010, 365
    Posts
    320

    Saving as pdf files from opening an excel files

    Hi,

    I currently have an excel 2003 document that I create multiple order files from opening a template and writing data to specific cell and then saving the file as the order number. But I would like to save the output files as pdf. Below is what I'm currently using:

          'Save the filename as order number
          sFilename = "C:\Documents and Settings\user\My Documents\Temp\Order-" & rng.Offset(-1).Value & ".xls" ' I need to save as .pdf  
          wb.Close SaveChanges:=True, Filename:=sFilename
    Thanks for any help,

    David
    Last edited by djfscouse; 07-28-2013 at 01:24 PM. Reason: Excel 2003

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: 02-29-2012, 01:15 PM
  2. Replies: 1
    Last Post: 02-19-2010, 06:08 PM
  3. Fix for problem opening/saving files
    By Patricia Shannon in forum Excel General
    Replies: 2
    Last Post: 04-25-2006, 03:40 PM
  4. [SOLVED] How can I view files chronologically when opening multiple files
    By Stevilsize in forum Excel General
    Replies: 3
    Last Post: 07-25-2005, 08:05 PM
  5. Opening and Saving Groups of Files
    By NacellesEng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2005, 12:06 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