Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussions
Access
Excel
InfoPath
Outlook
PowerPoint
Publisher
Word
Directory
User Groups
Related Topics
Outlook Express
Internet Explorer
Windows
MS Server Products
More Topics ...
MS Office Forum
/
Excel
/
Programming
/
March 2006
Tip:
Looking for answers? Try searching our database.
how do I hide rows in excel based on values input on sheet ?
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
tbo
- 21 Mar 2006 17:06 GMT
need to hide certain rows based on values entered elsewhere on the sheet -
please assist
Reply to this Message
ph8
- 21 Mar 2006 17:12 GMT
in VBA:
Code
-------------------
If Cells(1, "A") = "ValueToTestFor" Then
Cells(2, "B").EntireRow.Hide = True
Else
Cells(2, "B").EntireRow.Hide = False
End I
-------------------
Replace the cell addresses with the respective cells
Reply to this Message
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage
Start New Thread
Enable EMail Alerts
Rate this Thread
©2008 Advenet LLC
Privacy Policy
-
Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.