+ Reply to Thread
Results 1 to 7 of 7

Convert small macro smaller+efficient, receiving message (On and Off) No Responding

  1. #1
    Registered User
    Join Date
    10-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2016
    Posts
    83

    Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Good Morning,

    I have over 20 code that i called on Macro over Macro and all of them are working Fine except with one.I done this Macro over a year ago

    It use to run on less than 2 minutes, some how i delete or remove some code line and i did
    the Macro again but this time It takes too long (over 5 minutes) and i'm receiving a message
    On and Off (Top left on screen) (No Responding) but at the end it does the job

    Basically these are the Step what this Macro does:
    Select sheet1,
    A-.On row 37(with data) -> Insert sheets Row
    B-.Drag UP data from Cell C38 to new (empty) Cell C37
    C-.Cell D37 no action (leave empty)
    D-.Drag UP data from rows E38:IE38 to new (empty) rows E37:IE37

    For Sheet 2
    Select sheet2
    A-.On row 37(with data) -> Insert sheets Row
    B-.Drag UP data from rows C38:IE38 to new (empty) rows C37:IE37

    For Sheet 3 (exact same action as Sheet2)
    Select sheet3
    A-.On row 37(with data) -> Insert sheets Row
    B-.Drag UP data from rows C38:IE38 to new (empty) rows C37:IE37

    Note :
    This time I did a Macro only for Sheet1, if a member help me with at least one i try to figure it
    how to do the other one. Or if i typed i mistake please let me know..

    Thanks and in advance i appreciate :

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    .
    It runs without issue here :

    time.jpg

  3. #3
    Registered User
    Join Date
    10-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2016
    Posts
    83

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Hi Logit,

    If macro is tested draggin empty rows it takes 00:00 time but when dragging data it take a almost 5 minutes.
    The 5 minutes waiting is not a problem.
    The Issue is that when is running the Macro for 3 sheets i got on top left corner of the excel screen the Message (No Responding) it display On and Off.
    Im dragging no more than 4 kind of differents formulas in the the Range (its about 230 formulas in total.
    This are the formulas :

    Please Login or Register  to view this content.

    I google it the no responding tinghi and i found that i have to eliminate any add-in
    Which I did but the samething s happening

    When I test the others 19 Macros (with out this macro)the worksheet Is really fast (1:30 minutes) and i have no message.

    I record The Macro stepping different way and it get worst (keeping longer time the No responding message)

    BTW This is the entire Macro for the 3 sheets:

    Please Login or Register  to view this content.


    Thank you!

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Hello AndyJr,

    Welcome to the Forum!

    May it be that the issue you have might be somewhere else within your Code for your Workbook?

    Attach a sample workbook. 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.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Registered User
    Join Date
    10-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2016
    Posts
    83

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Hi Winon,

    Thanks for your response.
    Yes i tough about it, but workbook have 11 worksheets and some data is dependable between WS,
    and i don't know which one are
    I see what is the best way to do it..


    Thanks!

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Thank you AndyJr,

    workbook have 11 worksheets and some data is dependable between WS
    I have not tested this, but you could experiment with something like below:

    Please Login or Register  to view this content.
    Regards.

  7. #7
    Registered User
    Join Date
    10-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2016
    Posts
    83

    Re: Convert small macro smaller+efficient, receiving message (On and Off) No Responding

    Hi Winon,

    It take the same time and still have On and Off the Message No Responding.

    I think its taking long because It not respond to a some (or few) calculations, That's i'm going to find out.

    Also I'll going to find out which are the Add-in that comes standard on excel 2010 and i'll run the repair option.


    Thank you so much, appreciated a lot!


    AndyJr

+ 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] macro to convert email message to PDF and send as an attachment
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-20-2016, 02:18 AM
  2. Replies: 0
    Last Post: 11-20-2014, 07:26 AM
  3. How to convert some numbers in to the most efficient ratio
    By Shahid_Excel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2014, 01:58 PM
  4. When downloading, I'm receiving "The document is corrupt..." message using Win7
    By SteveHu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 11:03 AM
  5. Replies: 2
    Last Post: 08-16-2010, 02:54 PM
  6. Can anyone help me convert to more efficient code?
    By slo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2006, 12:05 PM
  7. Replies: 3
    Last Post: 07-05-2005, 06: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