Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Need to do the following: Example: Assuming Loop finds The first populated cell at A8 If A8 < "" Then variable = B8.value For each cell below A8 that = "" Each cell below B8 = variable Until A < "" Continue Loop from NEXT CELL < "" My code so far, which works except for iterating down the column. Dim i2 For Each i2 In Range([profile!C1], [profile!C1].End(xlDown)) If i2.Offset(0, -2) < "" Then Dim empID empID = i2.Offset(0, -1).Value If i2.Offset(1, -2) = "" Then i2.Offset(1, -1) = empID End If End If Next Thanks again everyone! -- mthomas ------------------------------------------------------------------------ mthomas's Profile: http://www.excelforum.com/member.php...o&userid=25649 View this thread: http://www.excelforum.com/showthread...hreadid=486450 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
copying dynamic range based on cell outside of range | Excel Programming | |||
select dynamic range with dynamic start point | Excel Programming | |||
Excel 2000 VBA - Set Print Range in dynamic range | Excel Programming | |||
Dynamic execution of a loop | Excel Programming |