+ Reply to Thread
Results 1 to 4 of 4

Macros won't work in spreadsheet

  1. #1
    Registered User
    Join Date
    07-12-2019
    Location
    US
    MS-Off Ver
    Office 365
    Posts
    1

    Macros won't work in spreadsheet

    Hello,

    I've been using a spreadsheet that had a macro that moves a row to another sheet based on the content in a cell and it worked fine for months but suddenly stopped working. I tried inputting different macros to see if it was an error with the original, but none are working. Any idea why this might be? I triple checked the criteria, rows, and columns and everything should be right. Any idea why it would suddenly stop working. Others have access to this sheet so I'm wondering if maybe someone did something that would cause it to fail. There is no error message that pops up, it just won't remove the rows anymore like it used to, even when conditions are met. Below is the macro that I'm utilizing.

    Please Login or Register  to view this content.
    Last edited by AliGW; 07-12-2019 at 10:50 AM.

  2. #2
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Macros won't work in spreadsheet

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new here, I have added them for you this time.)
    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.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Macros won't work in spreadsheet

    Are you trying to run this macro in the online version? Has anything changed in terms of workbook location?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Macros won't work in spreadsheet

    Is the file saved as .xlsx or .xlsm?

    If it has been saved as .xlsX, that format does not allow VBA, and your code will have been stripped from the file. If you have a back-up/copy somewhere you can retrieve the code, otherwise you may be SOL
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Sending File with Macros - Macros do not work
    By milwaukee in forum Excel General
    Replies: 1
    Last Post: 09-15-2015, 08:21 PM
  2. Macros do not work on another PC
    By Dimy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2015, 03:26 AM
  3. A macro that makes all macros within the spreadsheet work
    By Ardiko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2013, 02:12 PM
  4. [SOLVED] Macro Doesn't Work Through Button, Does Work Through Developer ->Macros Option
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2013, 11:55 AM
  5. Macros stop to work when work sheet is protected. Run time error 1004
    By sellim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 01:14 AM
  6. Why do Macros work sometimes?
    By ctmurray in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2008, 05:08 PM
  7. macros don't work
    By alymcmorland in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-24-2005, 08:05 AM

Tags for this Thread

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