+ Reply to Thread
Results 1 to 3 of 3

Macro Stopped Functioning

  1. #1
    Registered User
    Join Date
    05-14-2020
    Location
    Washington State
    MS-Off Ver
    2016
    Posts
    61

    Question Macro Stopped Functioning

    Hi Everyone,

    Some time ago this forum helped me develop a macro for a workbook I have been developing. Recently I made some changes by renaming the workbook sheets and then updated the macro accordingly. When I ran it yesterday, I received a debug error. I made some additional tweaks to the macro which resolved some of the issues, but I am still getting the debug error and haven't been able to figure it out. Any help is appreciated.

    I have included a sample of the workbook with the relevant sheets. If you go to the Developer tab and click on macro you can get to the error by clicking Edit for the "Sample.xlsm!MakSubScriptPrint4.MakSubScriptPrint4" option in the Macro dialog box. The error comes up when you click run within the "Sub MakSuperScriptPrint4 ()" macro. The error seems to pertain to the "Else" line, which gets highlighted when clicking debug after running the macro. I have not been able to figure out what is going on here. I changed the sheet names from Print2 & Print4 to Material Properties & Alt. Section Properties, respectively. The macro is supposed to delete the text in the indicated cells when a non-topped product is selected. I'm also noticing that the "Sub MakSubScriptPrint4 ()" is not clearing all of the text when running the macro for non-topped products.

    I've tried to be brief in my explanation of the issue, but clear enough that I can get some feedback. Feel free to ask additional questions for clarity. Thank you in advance for your help.

    Matt
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro Stopped Functioning

    Missing a G

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    05-14-2020
    Location
    Washington State
    MS-Off Ver
    2016
    Posts
    61

    Re: Macro Stopped Functioning

    AlphaFrog,

    Thank you for your prompt response. I figured it was something simple, but I couldn't see it.

    Matt

+ 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] Range Macro Not Functioning
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2020, 04:14 PM
  2. Office365 macro non functioning
    By dorabajji in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 10-24-2019, 06:03 PM
  3. [SOLVED] macro selection.copy not functioning
    By overbet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2017, 09:31 PM
  4. Excel Macro Stopped functioning as designed
    By schnizz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 04:25 PM
  5. [SOLVED] Excel formula-copying has stopped functioning
    By Cartesian214 in forum Excel General
    Replies: 9
    Last Post: 04-13-2012, 08:58 PM
  6. Macro Not Functioning Same After Copying to New Workbook
    By jrarmstrong4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2011, 07:51 AM
  7. My command button has stopped functioning
    By E. Marsh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2005, 05:05 PM

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