+ Reply to Thread
Results 1 to 8 of 8

Excel 2016: xlsm files slow to save

Hybrid View

  1. #1
    Registered User
    Join Date
    08-21-2019
    Location
    San Francisco
    MS-Off Ver
    2016
    Posts
    4

    Excel 2016: xlsm files slow to save

    Hello,
    Hopefully I'm posting this in the correct sub forum.

    Have a User here at the office I support who all of the sudden is having issues saving
    .xlsm files.

    Regular excel files are having no issues, but any with the xlsm extension either crash
    the program, or can take 30 + seconds to save (during which excel is unusable).

    The user has a brand new laptop (Lenovo T480s) which is freshly imaged.
    No other users are having this problem.
    Problem just started a day ago.
    User is on Office 2016 - Office 365 Pro Plus to be specific.
    The files are located on a share drive via our server, and are not local
    on the laptop.

    I've had other users experience issues with these xlsm files, and from another forum found
    that having their default printer set to one of our Fiery (EFI) printers was the problem - something
    involving the postcript driver on the printer. Changing the default printer to a non-Fiery/EFI printer
    resolved their issues, but not this time.

    I tried updating the macro settings in excel to "enable all macros", but that didn't resolve
    the issue.

    Not terribly familiar with xlsm files, so not sure what else to try, other than running a repair
    on Office, so hoping maybe someone here has a better idea.

    If any additional info is needed, please let me know.

    Thanks!!

    Jim

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,733

    Re: Excel 2016: xlsm files slow to save

    Do NOT update the macro settings in excel to "enable all macros".

    Do other users access the same macro enabled workbooks? Or are they specific to this user? If others use the same files, do they experience the same problems?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-21-2019
    Location
    San Francisco
    MS-Off Ver
    2016
    Posts
    4

    Re: Excel 2016: xlsm files slow to save

    Hi Trevor,
    Thanks much for your reply.

    To answer your question, plus some additional info...

    The specific doc I've been troubleshooting is used by multiple users here, but it is not set up to share (the user is
    experiencing this issue with other xlsm docs as well).

    Other Users have not yet reported as having this issue, but I accessed the doc from my computer, updated
    it and saved, and it too hung for 30 seconds or so before the save completed.

    I copied the doc from the share location to my desktop, made an update and then saved, and the same thing - it took
    a good 20-30 seconds before it completed the save.

    The user who reported this also made a copy to his local desktop, and when he goes to save an update, it takes
    the 20-30 seconds to complete.

    If we save the doc as an xlsx file, make an update and then save, it works correctly. We've done this on the user's pc,
    my pc and on the share drive.

    The issue occurs if the Trust Center > Macro setting is set to "disable all macros with notification", or "enable all macros..."

    The specific doc we've been testing with is used as a template. The dept. uses an app called Argus, and data is copied
    from Argus and pasted into the xlsm doc. No importing of data from Argus to the doc occurs, just copy/paste.

    The user is on Windows 10

    If you need any further info, please let me know, and thanks again!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,733

    Re: Excel 2016: xlsm files slow to save

    Ok, that's really helpful. It doesn't tell us what it is exactly but it tells us what it isn’t.

    You have experienced the problem, so it isn’t just the one user. Others may not use the file as much, not notice, or not care.

    You have both tried it on your desktop and the shared location so it isn't the location or the network causing the issue.

    Saving the file as an .xslx file removes the problem so it isn't related to formulae ... multiple, complex, array, full column references, etc. Anything that might affect performance eliminated.

    Which, as far as I can see, just leaves the code. So, do you have a Calculation event handler? Do you have a Before Close event handler that might generate a loop? Any Worksheet Change event handlers?

    When you say, "all of a sudden", does that imply that it hasn't always done this? If so, has anything changed? Structure of the worksheets? Number of worksheets? Volume of data ... rows, columns, whatever?

    Can you upload a sanitised version of the workbook?


    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    08-21-2019
    Location
    San Francisco
    MS-Off Ver
    2016
    Posts
    4

    Re: Excel 2016: xlsm files slow to save

    Thanks again Trevor.

    re: "Calculation event handler? Do you have a Before Close event handler that might generate a loop? Any Worksheet Change event handlers"

    I'm checking with the user, but regarding the above, are these scripts, or codes that are created w/in excel that run and collect data, or are they
    apps that you can scan an excel doc with? I'm googling :-) and it looks like it's more a script or code, but not being at all familiar with this, figure
    I'd ask.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,733

    Re: Excel 2016: xlsm files slow to save

    After thought: could the output from Argus have changed?

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,733

    Re: Excel 2016: xlsm files slow to save

    Ok, VBA is Visual Basic for Applications and is an inbuilt programming language for Office Applications.

    Users can record macros to faithfully repeat keystrokes. However a recorded macro is rigid and inefficient and usually needs to be edited to make it more generic, flexible and efficient. Macros are also referred to as Subroutines.

    There are numerous "event handlers" that can be adapted to process specific events that might occur. The "Before Close" event handler determines what happens when the workbook is closed. Similarly, "Before Save" caters for when the workbook is saved. The "Calculate" event handler is fired when Excel decides to recalculate the workbook. Google: excel vba event handler.

    To take this discussion forward, I would need to see all the code and, ideally, have access to a sample workbook.

  8. #8
    Registered User
    Join Date
    08-21-2019
    Location
    San Francisco
    MS-Off Ver
    2016
    Posts
    4

    Re: Excel 2016: xlsm files slow to save

    Hello again.
    Sorry for the belated update - was out sick on Friday.

    So it doesn't appear I will be able to upload the file. There's too much proprietary info in it. I'm checking to see if there's another
    file (he's having this issue with most of the xlsm files) we could use.

    The issue started last Tuesday evening. Tuesday work day the files were fine, then Weds they started having the issue.

    The user is unable to relay who was the last person to work on that file, or if the data output for the Argus app has changed.

    I think they have macros created for this file. I've attached a screenshot. Last week I stumbled onto what appeared to be
    more specific macros created - one of which is pwd protected, but I can't locate that now.

    I'm thinking of making a copy and then restoring the file to a prior version, a date before the issue started to see if the issue
    goes away, which may narrow it down some.
    Attached Images Attached Images

+ 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] VBA to save all .CSV files in a folder as .XLSM not working?
    By patdools in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2019, 02:28 PM
  2. Excel 2016 xlsm - forgot password
    By JRay0108 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2018, 10:32 AM
  3. Excel 2016 Extremely Slow
    By fornight in forum Excel General
    Replies: 4
    Last Post: 10-20-2017, 10:12 AM
  4. Force save Excel 2016 to variable filename and xlsm format
    By kath148 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2016, 12:58 PM
  5. [SOLVED] slow vba running with xlsm files
    By Dturazza in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-24-2014, 09:36 PM
  6. Replies: 2
    Last Post: 10-04-2013, 10:12 AM
  7. Excel 2003 macro working very slow in Excel 2007 (xlsm format)
    By kapil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-17-2010, 11:26 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