+ Reply to Thread
Results 1 to 4 of 4

VB to save to file of current date

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    PA, USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    VB to save to file of current date

    I have this code that saves the sheet as a pdf document and it works perfect for the most part, I just can't figure out how to get it to save to the folder i need it to. The problem is that i need it to save to a folder that has the current date in it. The folders are already created so i don't need it to create the folder just save in it. the path would be for example G:\Everybody\Daily Reports\2-17-15\rawdata.pdf How would i modify this code to do that? Thanks for the help!
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VB to save to file of current date

    Maybe?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-06-2013
    Location
    PA, USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: VB to save to file of current date

    That worked great thank you!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VB to save to file of current date

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum rules and mark this thread as solved. Use the link below for guidance.

    http://www.excelforum.com/forum-rule...rum-rules.html

+ 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. [SOLVED] Save file as current date
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-28-2014, 03:54 PM
  2. Save File as Current Date/Time
    By wxman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2007, 08:30 AM
  3. Save File with Current Date Info
    By dianahatesboys in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-31-2007, 03:15 PM
  4. Save File with the current date and time.
    By sd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2005, 08:35 AM
  5. Save excel file as current date
    By webbey21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2005, 11: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