LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Meaning of simple code

Can I know wat does the following statement mean?

For i = 161 To 301
If Trim(Cells(i, 7)) = "1" Then
Rows(i).Hidden = True
ElseIf Trim(Cells(i, 7)) = "True" Then
Rows(i).Hidden = True
End If
If Trim(Cells(i, 7)) = "0" Then
Rows(i).Hidden = False
End If
Next i

Basically, I dunno the meaning of Trim(Cells(i,7))
Can someone pls explain

--
Message posted from http://www.ExcelForum.com

 
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
Help with some simple code Angeline Excel Discussion (Misc queries) 4 October 12th 06 09:06 AM
Simple Code, I think... [email protected] Excel Worksheet Functions 1 August 2nd 06 08:09 PM
Some simple code WiReLaD Excel Programming 1 October 30th 03 07:11 PM
Simple For Each Next code Keith Willshaw Excel Programming 0 July 28th 03 12:57 PM
Simple For Each Next code Marek S. Excel Programming 0 July 28th 03 12:34 PM


All times are GMT +1. The time now is 04:09 AM.

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

About Us

"It's about Microsoft Excel"