-3

I have 2 msgboxes that pop up and ask you 2 diffrent questions, then it shows what you chose for both of them, but only 1 dim can be on at a time??? This does not work

msgbox("You chose" & strtext "for the message to send, and " & strtimes for the times to send it, correct?)

but this does

msgbox("You chose" & strtext "for the message to send.)

how do I make it so I can have more than 1 variable?

Geert Bellekens
  • 11,687
  • 2
  • 20
  • 47
roachbois
  • 1
  • 1

1 Answers1

1

I hope it's just a typo, you are missing several characters. You should be getting a syntax error.

It should be

msgbox("You chose" & strtext & " for the message to send, and " &_
strtimes & " for the times to send it, correct?")

the &_ meaning "continue string on next line"

Leif Neland
  • 1,325
  • 13
  • 35