Help: Find a row and then delete it

kotzo

Board Regular
Joined
Aug 1, 2010
Messages
119
Hi,

Im using

Code:
For counter=1 To 100
c=activesheet.cells.find(a).offset(0,3).value

d=c/10 [I] This is an example of the computations[/I]


' ********** DELETE THE ROW ***************

Next counter




in order to find 3 different rows that contain the a value
and then to use the 3rd cell on the right.

(100 are the nr. of all the rows I have)

After, that i need to delete these 3 rows but one after the other (offcourse)


Is it possible

a) to propose a better method
b) to show me how can I find the coordinates of the3 rows I found ?

Thanks

Kotzo
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi again,

based on the last post, it would be also a help
if you could tell me, if it is possible to
find the coordinates of the row that I found with the


c=activesheet.cells.find(a).offset(0,3).value

code

In other words:

If found the value c.
But where is it ?



Regards,

Kotzo
 
Upvote 0

Forum statistics

Threads
1,224,604
Messages
6,179,857
Members
452,948
Latest member
UsmanAli786

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