Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() s there a command that will copy the CELL from the row above it -- i.e. copy A1 to copy A2 .. I'm thinking of selection.filldown but i don't know how to adjust the fields so that it only looks 1 row above it i'm planing on using this in a loop for a selection that will scan a series of rows and if there is a certain criteria i want it to copy the cell from the row above THANKS Sub fill_in_the_blanks() Application.ScreenUpdating = False Columns("A:A").Select For Each cell In Selection If cell = "" Then *copy the cell above it and paste the cell from above to here* End If Next cell Application.ScreenUpdating = True End Sub -- narutard ------------------------------------------------------------------------ narutard's Profile: http://www.excelforum.com/member.php...o&userid=25111 View this thread: http://www.excelforum.com/showthread...hreadid=466778 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell | Excel Worksheet Functions | |||
I copy a formula and the results copy from the original cell | Excel Discussion (Misc queries) | |||
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? | Excel Programming |