vba - Is there a faster way to print a set of strings into a row in excel? -
my first pass @ involves using keyboard shortcut populate selected cell , row "may", "both", "derek", [today's date], , "uploaded". it's faster typing , want fast standard keyboard shortcuts; how can clean up?
sub autofillbothmay() application.screenupdating = false ' keyboard shortcut: ctrl+shift+b activecell = "may" activecell.offset(0, 1) = "both" activecell.offset(0, 2) = "derek" activecell.offset(0, 3) = date activecell.offset(0, 4) = "uploaded" application.screenupdating = true end sub
try as,
activecell.resize(1, 6) = array("may", "both", "derek", date, "uploaded", true)
don't bother application.screenupdating.
Comments
Post a Comment