+ Reply to Thread
Results 1 to 5 of 5

Save file, create .pdf, (Now delete .xls file)

  1. #1
    Registered User
    Join Date
    04-23-2004
    Posts
    38

    Save file, create .pdf, (Now delete .xls file)

    Ok I can save and create pdf, I just need help deleting the .xls file.
    Here is code I have:

    Code:
    Please Login or Register  to view this content.

    I need to keep the newly created .pdf and delete the created/saved .xls file, I just can't ssem to figure out what I need to write in code.

    Michael

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Cross-posted:

    http://www.mrexcel.com/board2/viewtopic.php?t=265397
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-23-2004
    Posts
    38
    I did not realize the 2 sites we affiliated. Sorry
    Does anyone have an answer?

    Michael

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    There not affiliated. However to avoid wasting people time you should declare the cross post by adding the link.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    The point against cross-posting on ANY forum (at least for me) is that kind souls like myself lend our time and knowledge to help those in need, and we'd rather not waste time fixing a problem when a number of other people are doing the same thing or have already resolved the issue on another board.

    It is also very rare that a cross-poster will go back to the multiple boards and update the case(s) so people reading it a day or two later won't attack the problem and waste their time.

    With that in mind, below your ActiveWorkbook.Save section of code, try this line of code:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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