+ Reply to Thread
Results 1 to 4 of 4

Macro that affects just from row 2 to down

  1. #1
    Registered User
    Join Date
    12-28-2018
    Location
    Colombia
    MS-Off Ver
    Microsoft Office 2013
    Posts
    27

    Question Macro that affects just from row 2 to down

    Hello dear people,

    I have the following macro

    Please Login or Register  to view this content.
    I want that the macro affects just from row 2 to down. In other words I want the row 1 remains intact because the macro is deleting the first row and I don't want it.

    Can you please tell me what I need to change in the code?

    Thanks!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Macro that affects just from row 2 to down

    Hello Santy4tas,

    Try this..

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Macro that affects just from row 2 to down

    You could also just stop the loop when the second row is reached?

    Please Login or Register  to view this content.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,191

    Re: Macro that affects just from row 2 to down

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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] a macro in another book affects a new book
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-20-2016, 03:44 PM
  2. How to record a macro that affects an autofilter based on 'boolean flag' cells?
    By xandermacleod in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2013, 08:21 AM
  3. Macro on Column Affects Macro on Rows
    By zimbo109 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2010, 05:34 AM
  4. One workbook affects all workbooks
    By amsanborn in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-23-2010, 10:24 PM
  5. hidden macro affects how other files open
    By jzurbo77 in forum Excel General
    Replies: 0
    Last Post: 01-11-2008, 10:56 AM
  6. sorting macro affects row height
    By Randy Starkey in forum Excel General
    Replies: 8
    Last Post: 06-09-2006, 10:45 PM
  7. Help Calling Pix With Macro-Affects All Pix on Sheet
    By documike in forum Excel General
    Replies: 8
    Last Post: 01-09-2005, 03:06 PM

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