简体   繁体   中英

excel vba, find a range

In excel, everyday i have to find where "spot" in the cell and then select after this row befor the cell containing "public".

can any one help me How to find rows contains "spot" and end selection before containing cell "public".

Yes.. looks very much like a homework assignment...

Here's a hint -

First search for the word spot, note the row number, then search for the word public then not the row number and then select the rows between

Hope this helps :)

Cheers... Nilesh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM