Hiding rows

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I'm hoping that someone can help.

How can I hide a row in a range.

I have a column T, and in this colum each row either has a number or hide.
Can someone please let me know what the code is to hide the rows that have
"hide" in them

Thanks
 
couple of ways
sort>hide

for each c
if ucase(c)="HIDE" then c.entirerow.hidden=true
next c
 
try this:
for each cEl in range("T:T")
if cEl="Hide" then
cEl.entirerow.hidden=true
end if
next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top