+ Reply to Thread
Results 1 to 5 of 5

I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

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

    I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

    Hi,

    i have 3 sheets that i need to Insert A new row using a short snippet. TBH I created more than 3 Macros
    but i'm getting On and Off the error "No Responding" and also the macro its taking too long, Already follow the advice of Microsoft and forums expert to Eliminate any external new Add-in that is not from microsoft
    Already try it to fix this on different ways and this is one of them.

    This is what i need to achieve
    sheet1
    On Row 37
    a-.I want to Insert new row (which have data) So, with this action the row with data Scroll down
    b-.Drag Up Row C38 to new Row 37 (to drag the formula)
    c-.Ignore Cell D38 and D37
    d-.Drag Up Row E38:EI38 to E37:EI37

    Sheet2
    On Row 37
    a-.I want to Insert new row (which have data) So, with this action the row with data Scroll down
    b-.Drag Up Row C38:EI38 to Row C37:EI37 (to drag the formula)

    Sheet3
    On Row 37
    a-.I want to Insert new row (which have data) So, with this action the row with data Scroll down
    b-.Drag Up Row C38:EI38 to Row C37:EI37 (to drag the formula)


    So, My question is: Do some expert know a Short Snippet to drag Up like 250 formulas Other than the Conventional VBA Record Macro dragging?

    For example
    Via Record Macro, This is the conventional Snippet to Insert New row and Drag it.

    Please Login or Register  to view this content.

    This is the New code that im trying now, but i need the Short Drag snippet
    (who know, it may make a difference )


    Please Login or Register  to view this content.

    NOTE: On my codes I'm using the snippets to run faster.

    Please Login or Register  to view this content.

    Thank you so much

  2. #2
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

    How about,

    Please Login or Register  to view this content.
    HTH,
    Maud

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

    Re: I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

    Good Morning Maudibe,

    The code is neat but unfortunately it doesn't work.

    Let me tell you what i did:

    I adapted the range and copy the code for each Sheet 1 to 3.
    I run the 3 codes and it does the drag but no inserting is not inserting 3 rows.

    So i added the Select Sheets name ("sheet1" "sheet2" etc,etc), but now it won't do nothing.
    Perhaps, i'm still getting the "No response" message but for less time.

    This is are the code
    Please Login or Register  to view this content.
    Thank you so much

  4. #4
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

    Please change

    Please Login or Register  to view this content.
    to:

    Please Login or Register  to view this content.
    Repeat the code for each sheet

    HTH,
    Maud

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

    Re: I got Short snippet to Insert Row, is there a short snippet to drag UP range Row?

    Hi Maudibe,

    Thanks for response about last code, unfortunately the 3 codes add the Rows to same Sheet1.
    trying and trying I added a line and worked.

    Please Login or Register  to view this content.
    each code take between 1.36 to 1.40 seconds But this is due (i think) because (somewhere)the code's find a data that produce a "bottlenecks" and display the message "No Response",
    I have to googled About the "No Response" and/ or "BottleNeck" Issue.



    Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

+ 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] need code snippet modified
    By cybershot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2016, 11:08 PM
  2. [SOLVED] missing numberscode snippet
    By var in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2014, 09:58 AM
  3. What does this snippet do?
    By zyzzyva57 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 05:54 AM
  4. Show Snippet Of One Worksheet In Another
    By Spencer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2011, 04:41 PM
  5. Better way to write this snippet of code?
    By cooper1308 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2009, 02:16 PM
  6. [SOLVED] Quick Simple VB Snippet Needed
    By Tim H in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2006, 02:45 PM
  7. Problem in WITH/END WITH code snippet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2006, 11:10 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