Results 1 to 3 of 3

Deleting rows with macro

Threaded View

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Deleting rows with macro

    I want to delete every second row, because I have data with 0.25m interval and I want 0.5m interval. Why I try the following it doesn't work?
    Sub Macro1()
      
    Row = 11
    Do Until Row = "2525"
        Rows("Row:Row").Select
        Selection.Delete Shift:=xlUp
        
        Row = Row + 1
    Loop
    
    End Sub
    Last edited by Elise.B; 03-19-2009 at 06:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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