Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i am trying to make the following a loop:
Selection.Find(What:="Employee Total", After:=ActiveCell, LookIn:= _ xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext _ , MatchCase:=False, SearchFormat:=False).Activate Range("A38").Select ActiveCell.FormulaR1C1 = "=RAND()" basically, i want to find every cell where the cell text is "Employee Total" in Column B, then in the adjoining cell in column A, enter the formula "=RADN()". after that, i recorded a code to remove all duplicate values in column A - this works. after that, i need a code to loop again to do the following: for evey blank cell in the used range in Column C, copy the value in the next cell down: Col A - Column B - Column C ID NUMBER - Employee Name - blank cell =rand() - Employee Total - 75 the blank cell would copy the value 75. after than i think i can record the macro for the final clean up and stuff. any assiatance would be appreciated. thank you, jat |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find text and copy selected rows from text and loop | Excel Programming | |||
Stop spilling the text to the adjoining cell | Excel Discussion (Misc queries) | |||
place text in one cell | Excel Worksheet Functions | |||
loop question trying to bring excel into autocad text not starting in correct place | Excel Programming | |||
Why am I seeing ###### in place of text within the cell? | Excel Discussion (Misc queries) |