+ Reply to Thread
Results 1 to 9 of 9

Macro SAVE AS not working

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    London England
    MS-Off Ver
    Office 365
    Posts
    69

    Macro SAVE AS not working

    Hi

    I have this macro that when activated, displays the SAVE AS box and fills the file name with the contents of a cell. However, when you press SAVE - nothing happens.

    Please Login or Register  to view this content.
    Thanks in advance!
    Last edited by Mattyevs1000; 05-12-2020 at 04:51 AM.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro SAVE AS not working

    Hi Mattyevs1000

    Please take a moment to read our forum rules...here
    Your post does not comply with Rule # 2
    2. Programming code must be enclosed in code tags to improve readability. (A, Z)
    Please Login or Register  to view this content.
    So...Edit your post...Highlight the code and press the # button

    We cannot assist until this has been done...
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Macro SAVE AS not working

    The GetSaveAsFilename dialog box, is not a save function, it is used to get the string you want to save as, you will still have to use a save-as line to complete the action.
    Just record a "save-as" action by hand and you will see the difference.

    Cheers
    Erwin
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  4. #4
    Registered User
    Join Date
    01-07-2014
    Location
    London England
    MS-Off Ver
    Office 365
    Posts
    69

    Re: Macro SAVE AS not working

    Thanks Edwin however I am struggling as I do not understand the codes - I am very much a novice!

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro SAVE AS not working

    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Macro SAVE AS not working

    Are you still using Excel 2003? As the code that you have in your initial post is designed for newer versions.

    Cheers
    Erwin

  7. #7
    Registered User
    Join Date
    01-07-2014
    Location
    London England
    MS-Off Ver
    Office 365
    Posts
    69

    Re: Macro SAVE AS not working

    Thanks Erwin, worked a treat. No I am using 2016.

    One last question, how can that code be adapted to add a file path location that is contained in CELL AX5? Thank you!

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Macro SAVE AS not working

    If you have the filename in AQ5 and the folder path in AX5 when why "GetSaveAs"

    Why not just...
    Please Login or Register  to view this content.

  9. #9
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Macro SAVE AS not working

    @ Mattyevs1000,
    So please update your MS Office version in your profile

    Cheers
    Erwin

+ 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. VBA Macro for save workbook is not working
    By Sunny_123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2016, 03:54 PM
  2. save as macro partially working
    By tigergutt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-05-2016, 07:12 AM
  3. Save Excel Sheet as PDF - Macro not working
    By excelsoft in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-17-2015, 04:01 PM
  4. Macro not working after save
    By K3mp3r in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-13-2014, 08:29 AM
  5. [SOLVED] Save (macro) button not working
    By Mr_Nick666 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2013, 09:40 PM
  6. Save As Macro - Not Working...
    By Thrawler in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2012, 09:37 AM
  7. Save as Macro working for one computer but not the other?
    By Infinity in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2006, 05:30 AM

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