Excel auto fill column by X+++..Y++..Z+ -

how autofill values in between?
to end with

use vba
sub fillvalues() dim c range each c in range("a1:a" & range("b" & rows.count).end(xlup).row) if isempty(c) c = c.offset(-1, 0) next c end sub hit alt+f11 open vbe, right click in project explorer (ctrl+r)
and insert » module
then alt+f8 view macros » select fillvalues
to

use
sub fillvalues() dim c range each c in range("a1:a" & range("b" & rows.count).end(xlup).row) if isempty(c) c = c.offset(-1, 0) +1 next c end sub
Comments
Post a Comment