Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() can u give more info on what u want to d -- T.c.Goosen197 ----------------------------------------------------------------------- T.c.Goosen1977's Profile: http://www.excelforum.com/member.php...fo&userid=3589 View this thread: http://www.excelforum.com/showthread.php?threadid=55721 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I was actually working on a similar sub: Code: -------------------- Range("A5").Select Do ActiveCell.Offset(1, 0).Select Loop While ActiveCell.Value != "" -------------------- Yeah, it's basically the same thing you guys have, but I found out the != code doesn't exist. I just want to select the first cell that doesn't contain information. -- FCC ------------------------------------------------------------------------ FCC's Profile: http://www.excelforum.com/member.php...o&userid=35888 View this thread: http://www.excelforum.com/showthread...hreadid=557210 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub macro2() Dim Z As Integer Z = 1 Do Until Sheet1.Range("e" & Z).Value 0 If Range("e" & Z).Value = "" Then Z = Z + 1 Else ' "" End If Range("a1").Value = Z Loop Z = Range("A1").Value Do Until Sheet1.Range("e" & Z).Value < 0 If Range("e" & Z).Value = "" Then ' "" Else Z = Z + 1 ' "" End If Range("a2").Value = Z Loop End Sub "now use the values in cel A1 & A2 to Offset the range" -- T.c.Goosen1977 ------------------------------------------------------------------------ T.c.Goosen1977's Profile: http://www.excelforum.com/member.php...o&userid=35895 View this thread: http://www.excelforum.com/showthread...hreadid=557210 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IRR Syntax | Excel Worksheet Functions | |||
Help with Syntax | Excel Discussion (Misc queries) | |||
SQL syntax | Excel Worksheet Functions | |||
syntax help | Excel Programming | |||
syntax for a sub ( ) | Excel Programming |