Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can I delete a row based on Columns H and I


::*Hi I would like to write an EASY macro on how to delete an entire ro
if its column H and I both equal zero. Row 12 is my header row. th
macro needs to be looped until the A column has a blank cell. I a
having serious trouble. I tried looking at other macros to interepre
the logic, but i am having serious issues with the terminology in VBA
I know its easy..but I can't grasp.

I appreciate all help. Thanks*:

--
ICSAnalys
-----------------------------------------------------------------------
ICSAnalyst's Profile: http://www.excelforum.com/member.php...fo&userid=1509
View this thread: http://www.excelforum.com/showthread.php?threadid=27872

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default How can I delete a row based on Columns H and I

try this with small exstract of your data
this may not require macro

highlight whol data base including headers
clikc data-filter-autofilter
filter H column for 0
again filter I colum for 0
you will get only those rows having H and I zero
select these rows and cick edit-deleterows
now click data-filer -autofilter , that means autofilter is removed
do you get what you want.

on these steps create a macro.

ICSAnalyst wrote in message
...

::*Hi I would like to write an EASY macro on how to delete an entire row
if its column H and I both equal zero. Row 12 is my header row. the
macro needs to be looped until the A column has a blank cell. I am
having serious trouble. I tried looking at other macros to interepret
the logic, but i am having serious issues with the terminology in VBA.
I know its easy..but I can't grasp.

I appreciate all help. Thanks*::


--
ICSAnalyst
------------------------------------------------------------------------
ICSAnalyst's Profile:

http://www.excelforum.com/member.php...o&userid=15095
View this thread: http://www.excelforum.com/showthread...hreadid=278729



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete columns based on selection Steve Excel Discussion (Misc queries) 0 December 7th 09 09:38 PM
Delete Formula Based on Multiple Columns Cue Excel Discussion (Misc queries) 2 June 23rd 08 03:41 AM
How to delete duplicates based on data in 2 columns? Max Excel Discussion (Misc queries) 2 April 9th 08 04:46 PM
VBA Delete row based on multiple columns of data jlclyde Excel Discussion (Misc queries) 3 November 26th 07 07:46 PM
Delete Columns based on a condition Joel Mills Excel Programming 3 August 6th 04 07:21 PM


All times are GMT +1. The time now is 03:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"