+ Reply to Thread
Results 1 to 5 of 5

VB Script to save as

  1. #1
    Registered User
    Join Date
    11-03-2019
    Location
    Wellington New Zealand
    MS-Off Ver
    2016
    Posts
    2

    VB Script to save as

    Hi
    I am very new to this. I am using the code below to save workbooks with date as part of the filename. It is working correctly but I want to save the files in a sub folder not the original. The original location is ("C:\Users\xxxxxxxxxxxxxx\Trial") but I want to save them in ("C:\Users\xxxxxxxxxxxxxx\Trial\TEST"). I have tried to find the answer but nothing seems to work. Thanks for any help.

    Malcolm



    Please Login or Register  to view this content.
    Last edited by Leith Ross; 11-03-2019 at 10:29 PM.

  2. #2
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: VB Script to save as

    I think that this source should give you most of what you need.

    https://stackoverflow.com/questions/...-save-location

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,548

    Re: VB Script to save as

    @truk2

    Administrative Note:

    Welcome to the forum.

    Although we value your privacy as much you do, it could be important that members have a rough idea of your location as the solutions they offer may be affected by your locale. For instance, you might in the future post questions which are related to your regional settings.

    With this in mind, please update your profile to something more precise (something such as UK, Europe, USA, UAE, etc. will suffice).

    Thank you for helping us to help you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: VB Script to save as

    Not a problem.
    Will do

  5. #5
    Registered User
    Join Date
    11-03-2019
    Location
    Wellington New Zealand
    MS-Off Ver
    2016
    Posts
    2

    Re: VB Script to save as

    Thanks for the help

+ 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. VB Script to save Thisworkbook with changes
    By Yash20 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2016, 04:03 AM
  2. VBA one script, save as, close and open again
    By martin81 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2016, 06:35 PM
  3. Script to save as PDF and Email through Outlook
    By tjhess4733 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2016, 07:18 PM
  4. Save as Script
    By Lonney in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-01-2015, 08:32 PM
  5. Save As Macro Script
    By Neal in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-28-2006, 11:10 AM
  6. Replies: 1
    Last Post: 07-16-2005, 11:05 AM
  7. VB Script file save as with date
    By nixter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2005, 04: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