row delete

  1. M

    Exclude the only one value and delete all values in vba excel

    When i apply filter , it should uncheck only John and apply filter to all the values except john and delete the rows till last value Mark Name 80 John 20 Maya 30 John 40 Peter In my report , John is the standard person. But Names daily will get change. I need to delete the rows...
  2. G

    VBA delete rows which contains certain string

    Hi, I have a file which has the following information in Column A : <tbody> Project: ABC 1 34 45 Total Project: XYZ 3 56 Total I would like to all rows which do not contain "Project:" or "Total" to be deleted IN this case, the final output should look like this : Project :ABC Total...
  3. D

    VBA rows not being deleted correctly

    I have a worksheet with 10 columns, two of which (J and K). J column takes various text values, one of which is "External Research". K column takes year values (they are formatted as "General" type), starting 2001. I want to delete the whole row, when J is "External Research" or K is <=2015...
  4. K

    Macro to delete rows in excel to cell with specific key word in excel and next find if cell in row is blank then delete row with blank cell and above

    Frnds, I need a Macro to delete rows in excel to cell with specific keyword "Job Number" in excel and next find if cell exactly next row is blank, if yes then delete this row with blank cell and above two. NB, If its a blank records then it will only be single blank row below "Job No" as...
  5. rkol297

    Trouble with a conditional row deletion issue.

    I have this code however it is not doing what I need it to do: Sheets("IG MEDCO").Select Dim CelIGMEDCO0F As Range, RngIGMEDCO0F As Range, iIGMEDCO0F As Long Set RngIGMEDCO0F = Columns("I").SpecialCells(xlConstants, xlTextValues) For iIGMEDCO0F = RngIGMEDCO0F.Count To 1 Step -1 If...
  6. E

    VBA: How to search for value in column, sort through other column and delete row

    Hello, I need help writing code that will search for a name, which a column may have multiple, then look to another column and delete each row that has a lower value than the high value. so for example, search for john A B 1 John .5 2 John .7 3...
  7. E

    VBS Help for Removing Rows

    I am using Excel 2007 and with a .vbs file and I am trying to delete the first 11 rows of data in a CSV, then delete the very last row after the first 11 are deleted. After this the file should be saved in XLXS format which currently does work. Set objExcel =...
  8. H

    Question regarding for loops vs arrays

    Hello, Thanks to the members of this forum i have gone from completely clueless to beginning novice in vba. To improve, I am trying to get in the habit of creating code that is more efficient and faster. I usually create for loops to run through the data in excel to delete unwanted values...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top