excel - How to call the Sub () in specific cell? -
i want code call in cell a20, question how call sub() ?
sub n323100z() dim x string, rcell range, y string, z long x = "t" & format(now, "mmddyyhhnnss") y = left(x, 10) z = right(x, 2) each rcell in range("d21:d" & range("d" & rows.count).end(3).row) if cells(rcell.row, 1) = "" cells(rcell.row, 1) = y & z z = z + 1 next rcell end sub
Comments
Post a Comment