+ Reply to Thread
Results 1 to 3 of 3

Delete Current Row With Offset (-1,0)

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    43

    Delete Current Row With Offset (-1,0)

    Hey there,

    for the life of me I cannot figure this out.

    Looking do delete current row & all other rows below it except the last.

    I was trying: Range(ActiveCell, ActiveCell.End(xlDown).Offset(-1, 0)).Select

    which gave me only the cells in A:A that I needed to delete
    Tried rows(activecell.row, (I cannot end and xldown(-1,0 here

    Any help would be appreciated.

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Delete Current Row With Offset (-1,0)

    Try

    Please Login or Register  to view this content.
    Kind regards
    Leo

  3. #3
    Registered User
    Join Date
    04-15-2009
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Delete Current Row With Offset (-1,0)

    Worked like magic. Now I just need to understand it.

+ 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] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  2. Replies: 4
    Last Post: 05-02-2014, 08:00 AM
  3. Find Last Occurrence of Current Cell's Offset Row Value
    By stusic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-26-2014, 10:47 PM
  4. Copy cell in current row and paste offset down 1
    By mikeop99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-23-2013, 10:27 PM
  5. [SOLVED] Offset not working for current selection
    By UsmanBPD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2013, 01:48 PM
  6. Enter static date into offset(0,1) if entry into current cell
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-08-2012, 05:41 PM
  7. Delete the current workbook
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2006, 02:16 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