Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Almost the same:
Option Explicit Sub CopyCells() Dim LRow As Long Dim MyRng As Range Dim c As Range Range("A1").Activate LRow = ActiveCell.CurrentRegion.Rows.Count Set MyRng = Range("A1:B" & LRow) For Each c In MyRng If c.Value = "" Then c.Value = c.Offset(-1, 0).Value End If Next c End Sub Mike F "Mut" wrote in message ... Thanks a lot..Mike It worked properly.. =) Then.. I have another case. What Should I do If I have to fill blank cells?.. Based on cell above them So.. It could be.. A| B| C| 1|Children |Information |News 2|Children |Information |Filler 3|News |Information |Filler 4|News |News |News 5|News |Movie |Movie Thanks.. -- Mut ------------------------------------------------------------------------ Mut's Profile: http://www.excelforum.com/member.php...o&userid=30633 View this thread: http://www.excelforum.com/showthread...hreadid=528841 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return blank cell if data cell is blank | Excel Worksheet Functions | |||
How can I make a blank cell in a formula cell with a range of cell | Excel Discussion (Misc queries) | |||
adding a formula in a cell but when cell = 0 cell is blank | Excel Worksheet Functions | |||
How do I merge 2 cells for ex. DE (1 cell) & 01234 (2 cell) into . | Excel Discussion (Misc queries) | |||
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. | Excel Discussion (Misc queries) |