+ Reply to Thread
Results 1 to 3 of 3

deleting select rows

  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    3

    deleting select rows

    Hi,

    I know deleting select rows is a very common problem and i could find many sample programs online. However i wrote a simple one that imitates those programs and its acting funny. The macro is attached to a button and all it does is check if a certain column has the value zero and deletes it. However it only deletes some of those rows. Hitting the button a couple of times eventually deletes all the rows. So what do you think is wrong with my script? I'm new to vba on excel but im quite familiar with a couple of other scripting languages and this is acting very funny.

    My script is
    Please Login or Register  to view this content.
    and the workbook is BOQ 12 R2.xlsm

    please help me on getting it to work. I wrote another script that automates the whole workbook process but it gives me a weird 1004 error time to time. and i couldnt find an explanation to this anywhere..

    thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: deleting select rows

    If you are deleting rows, you need to work from the bottom of the table up....
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: deleting select rows

    Please Login or Register  to view this content.

+ Reply to Thread

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