• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Please have a look( I need short cut for this)

I want to fill the cells

  • hi

    Votes: 0 0.0%
  • s

    Votes: 0 0.0%

  • Total voters
    0
Please do for this
Hi,

Use this variation of the code, as before select the area to fill. The code will fill numbers or text.

Code:
Sub FillBlanks2()
Dim Area As Range
For Each Area In Selection. _
  SpecialCells(xlCellTypeBlanks).Areas
Area.Value = Area(1).Offset(Area.Cells.Count).Value
  Next


End Sub
 
Back
Top