Any idead why the code below isnt executin properly? I took this directly form a VBA book but it isnt working as I had hoped; I get no breaks or runtime errors:
It is supposed to fill in the blank cells below the headings with the heading names.Sub region() On Error Resume Next Range("a1").CurrentRegion.SpecialCells(xlCellTypeBlanks).forumular1c1 _ = "=r[-1]c" Range("a1").CurrentRegion.Value = Range("a1").CurrentRegion.Value End Sub
Bookmarks