excel - VBA Error Compile: Expected: Expression -
i working on homework , can't figure out why code won't work. assignment request name respond in red text in b10.
here code:
any great- thanks!
consider:
sub qwerty() sheets("mynewsheet").activate range("b10") .font.colorindex = 3 strname = application.inputbox(prompt:="please enter name.", type:=2) .value = strname end end sub
Comments
Post a Comment