Consulting

Results 1 to 5 of 5

Thread: Ask for values and delete row

  1. #1

    Ask for values and delete row

    I want to be asked for some values and delete all rows that contains this values. It will be found in one column.
    Thanks.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Asked in many questions, or all in one question?

    Why not just filter the column, and then delet the visible rows?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Because every time the value may be different. So I have to clear rows with specified values. Eg..set value to delete...A, set another value? Y or No... and proceed

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Isn't that exactly what autofilter will allow you to do?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    yes but I want to do it with VBA. Pop up window with values I want to delete rows etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •