Thread: Msgbox Help
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Mike H. Mike H. is offline
external usenet poster
 
Posts: 471
Default Msgbox Help

After I posted this I realized I didn't do that part, but even:
let tmp=msgbox(prompt:="Hello World!",buttons as VbMsgBoxStyle=vbokonly)
will not compile....

"Sam Wilson" wrote:

Leave the brackets out if you don't expect a return value?

"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?