Delete entire row if cell contains the string X

前端 未结 7 1272
感情败类
感情败类 2020-12-08 07:07

I am new to VBA and I am trying to come up with a way to delete all rows (and shift cells up, if possible) where the website column cell contains the word none.

7条回答
  •  萌比男神i
    2020-12-08 07:18

    This is not necessarily a VBA task - This specific task is easiest sollowed with Auto filter.

    1.Insert Auto filter (In Excel 2010 click on home-> (Editing) Sort & Filter -> Filter)
    2. Filter on the 'Websites' column
    3. Mark the 'none' and delete them
    4. Clear filter

提交回复
热议问题