Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VBA Quicky

VBA Quicky

Scheduled Pinned Locked Moved Visual Basic
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harveyhanson
    wrote on last edited by
    #1

    I wondered if anyone may know, I just want to write a bit of VBA to put in an excel macro so that it a sheet of data, wherever a row contains a 0 in a certain column (e.g. column e), the row will be deleted. I know it would be a loop but I have never been very good on loops. So basically, e.g. it would do this Row(2)- if cell E(2) = 0 delete row, search next row, search until rows are null thanks

    C 1 Reply Last reply
    0
    • H harveyhanson

      I wondered if anyone may know, I just want to write a bit of VBA to put in an excel macro so that it a sheet of data, wherever a row contains a 0 in a certain column (e.g. column e), the row will be deleted. I know it would be a loop but I have never been very good on loops. So basically, e.g. it would do this Row(2)- if cell E(2) = 0 delete row, search next row, search until rows are null thanks

      C Offline
      C Offline
      ChandraRam
      wrote on last edited by
      #2

      This [^] site is a good resource for VBA. I had typed out a detailed response to your query, but lost it when I hit the "Post" button :( I hope you can find your solution from the site I have pointed you to.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups