Results 1 to 3 of 3

Help on writing a Macro to delete rows with certain criteria

Threaded View

  1. #1
    Registered User
    Join Date
    03-05-2011
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2003
    Posts
    27

    Help on writing a Macro to delete rows with certain criteria

    Hello,

    I am new to using Macros in excel (2003) and I am having problems writing a code to do the following.

    I have a spreadsheet with 100 rows. I would like to add a button to the spreadsheet to delete all completed rows based on the "Yes or No" response in the cell. Anytime there is a Yes in column K, I would like the button to delete the rows and shift the information up. I have a formula in column B that auto numbers the task. In columns I and K I used data validation to have the user select the priority level and the Yes/No response.

    The rows start on #6.

    I have attached a sample spreadsheet.

    Any help would be greatly appreciated.

    Thanks!
    Attached Files Attached Files

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