D
DanF
Hey guys
I'm trying to find a work around to the following problem.
I'm trying to merge the data from numerous sheets into one sheet.
I can copy the data into one sheet, but am trying to eliminate blank rows.
I've used the VB code below, but beacuse the rows all contain formulas, the
'SpecialCells(xlCellTypeBlanks)' doesn't evaluate these cells as blank:
Code:
Sheets(combinedEMParams).Range("A2
" & Range("D" &
Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Is there a 'xlCellTypeValueBlank' or something similar?
Thanks for your help
Dan
I'm trying to find a work around to the following problem.
I'm trying to merge the data from numerous sheets into one sheet.
I can copy the data into one sheet, but am trying to eliminate blank rows.
I've used the VB code below, but beacuse the rows all contain formulas, the
'SpecialCells(xlCellTypeBlanks)' doesn't evaluate these cells as blank:
Code:
Sheets(combinedEMParams).Range("A2
Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Is there a 'xlCellTypeValueBlank' or something similar?
Thanks for your help
Dan