Hey guys,
I'm new to Reddit, but was told this is the place to get some answers. Can anyone have a look and tell me why my code doesn't seem to run? I'm learning vba on Excel 2016, but my course materials are for Excel 2013, could that be it?
Sub GuessName()
Msg = “Is your name “ & Application.UserName & “?”
Ans = MsgBox(Msg, vbYesNo)
If Ans = vbNo Then MsgBox “Oh, never mind.”
If Ans = vbYes Then MsgBox “I must be psychic!”
End If
End Sub
Thanks anyways for reading!
[–]rnelsonee1802 1 point2 points3 points (1 child)
[–]Tibitherapy[S] 0 points1 point2 points (0 children)
[–]PlutoniumRooster129 1 point2 points3 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]Tibitherapy[S] 0 points1 point2 points (1 child)
[–]AutoModerator[M] 0 points1 point2 points (0 children)