I have a large amount data with dates in 2 columns (example below). I am trying to build a macro where it can detect the blank cells and then delete the blank with the corresponding date. I am able to delete the blanks but I can't get rid of the dates so my data will be skewed with missing data points.
activecell.offset(0,-2).columns("a:b").entirecolumn.select
selection.specialcells(xlcelltypeblanks).select
Selection.activecell.offset(0,-1).range("A1").select
selection.delete shift:= xlUp
10/7/2002 0.150943396
10/8/2002 0.124223602
10/10/2002
10/11/2002
10/15/2002 0.216216216
10/16/2002 0.050955414
10/17/2002 0.095238095
activecell.offset(0,-2).columns("a:b").entirecolumn.select
selection.specialcells(xlcelltypeblanks).select
Selection.activecell.offset(0,-1).range("A1").select
selection.delete shift:= xlUp
10/7/2002 0.150943396
10/8/2002 0.124223602
10/10/2002
10/11/2002
10/15/2002 0.216216216
10/16/2002 0.050955414
10/17/2002 0.095238095