+ Reply to Thread
Results 1 to 2 of 2

Saving, but not to the right folder

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Florida
    MS-Off Ver
    Home -Excel 2007, Work 2016
    Posts
    254

    Saving, but not to the right folder

    Thought I had entered this earlier today, but can not find it, so am entering it again.

    Following is saving with the correct name and time date stamp.
    But it is saving to the "File" folder and not to the existing "aa PM Spreadsheet" folder.
    ActiveWorkbook.SaveAs Filename:="X:\Files\aa PM Spreadsheet\" & ThisFile & " " & Format(Now, "mm-dd-yyyy hh-mm-ss")
    FileExtStr = "xlsm": FileFormatNum = 52

    What would cause that to occur???
    Thanks

  2. #2
    Registered User
    Join Date
    07-13-2012
    Location
    A, A
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Saving, but not to the right folder

    Try it.
    ActiveWorkbook.SaveAs Filename:="X:\Files\aa PM Spreadsheet\" & "\" & ThisFile & " " & Format(Now, "mm-dd-yyyy hh-mm-ss") & ".xlsm"

+ 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