How to get pi to appear in a message box when coded using VBA

Joined
Jan 25, 2018
Messages
1
Reaction score
0
Hello all,

I'm really stuck on with trying to code a message box in VBA. I've got

Sub HINT_area_of_circle()
MsgBox " HINT: The formula to find the area of a circle is Area= Pi x Radius² "
End Sub

And that all comes up fine and works, but i was wondering if there was a way to make "Pi" appear as the Pi symbol when the message box pops up? I've tried the alt code for pi but it seems that it isn't working.

Would anyone be able to help please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top