![]() |
#2
|
|||
|
|||
![]()
Hi
Paste this code into a module in your workbook. It will deal with 1000 rows in Column A of your worksheet. Let me know if you need to cover more columns. Sub CellCheckForBlank() ' ' Check for Blank Cells and populate with value above ' For Count = 1 To 1000 myVal = Range("A" & Count) Range("A" & Count + 1).Select If Range("A" & Count + 1) = "" Then Range("A" & Count + 1) = myVal End If Next Count End Sub Tony (OTPM) |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Move data from 1 cell to another cell | Catalin.B | Excel | 1 | 06-25-2011 12:51 PM |
How to fill a cell with random numbers to do calculations? | zanat0s | Excel | 1 | 06-13-2011 10:33 AM |
![]() |
Learner7 | Excel | 1 | 07-28-2010 12:07 PM |
How can I fill cell color starting from Cell D5 using Conditional formatting instead | Learner7 | Excel | 0 | 07-08-2010 05:50 AM |
Automatically entering/fill data in cells in Excel 2003 | dipdog | Excel | 0 | 08-17-2006 08:37 AM |