Hello guys,
I'm making a macro that finds the last empty cell and paste from there, the problem I'm having is that Excel won't consider an empty cell when copying a cell which formula's result is "" and pasting values, hence, the macro leaves as many empty cells as where copied from blank cells (as result of a formula)
It's kinda hard to explain so I will ilustrate:
Cell A1:
=IFERROR(INDEX(Summary!$AA:$AA,MATCH(COUNTA($H$14:H14),Summary!$AK:$AK,0)),"")
let's say there is an error and the cell value is ""
Macro button would copy A1 and paste values at B1 (just to ilustrate)
B1 looks empty, but when I use ctrl+arrows to move it stops there as if it had an actual value. I tried skipping blanks but it seems excel considers "" as a value and not null, so when pasting it pastes the same 'value' and when moving across the sheet it behaves as if the cell had a content.
Do anybody know a work around?
Thanks
I'm making a macro that finds the last empty cell and paste from there, the problem I'm having is that Excel won't consider an empty cell when copying a cell which formula's result is "" and pasting values, hence, the macro leaves as many empty cells as where copied from blank cells (as result of a formula)
It's kinda hard to explain so I will ilustrate:
Cell A1:
=IFERROR(INDEX(Summary!$AA:$AA,MATCH(COUNTA($H$14:H14),Summary!$AK:$AK,0)),"")
let's say there is an error and the cell value is ""
Macro button would copy A1 and paste values at B1 (just to ilustrate)
B1 looks empty, but when I use ctrl+arrows to move it stops there as if it had an actual value. I tried skipping blanks but it seems excel considers "" as a value and not null, so when pasting it pastes the same 'value' and when moving across the sheet it behaves as if the cell had a content.
Do anybody know a work around?
Thanks