Thread: Msgbox Help
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Sam Wilson Sam Wilson is offline
external usenet poster
 
Posts: 523
Default Msgbox Help

I would just use:

msgbox "Hello World",vbokonly,"My Title"


"Mike H." wrote:

I have noticed for some time that when I start to enter a message box, I get
help popping up that has syntax similar to this:

msgbox(prompt:="Hello World!",buttons as VbMsgBoxStyle=vbokonly)

But I don't have the syntax right as it won't compile. What is wrong?