Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Private sub macro1() Dim Z as integer Z = 1 Do until sheet1.range("A" & Z).value = "" If sheet1.range("A" & Z).value = "" then ' "" else Z = Z +1 end if loop sheet1.range("B1").value = Z end sub "you can pick up the Z value at cell B1" -- 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 |
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 |