#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Hiding rows

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Hiding rows

couple of ways
sorthide

for each c
if ucase(c)="HIDE" then c.entirerow.hidden=true
next c
--
Don Guillett
SalesAid Software

"ChiragP" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Hiding rows

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



"ChiragP" wrote:

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

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
Color alternate rows when after hiding selected rows Monk[_2_] Excel Worksheet Functions 6 June 7th 08 01:36 AM
Hiding Specific Rows Based on Values in Other Rows Chris Excel Worksheet Functions 1 November 2nd 06 08:21 PM
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Copying Rows when hiding other rows Neutron1871 Excel Worksheet Functions 2 November 3rd 04 11:38 PM


All times are GMT +1. The time now is 02:13 AM.

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

About Us

"It's about Microsoft Excel"