excel - How to call the Sub () in specific cell? -


screenshot

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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -