View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Who Can Develop a new vbPrint?

I'm a bit confused. vbYesNoCancel and vbYesOnly are integer constants
that tell the MsgBox() method what buttons to display.

You can't add functionality to MsgBox by generating new constants.

If you want different options, one way is to display a userform which
you create, where you can assign your long message to a label, and which
includes command buttons that you can code to print the message, or to
create a new worksheet with the message.

In article
,
Curious wrote:

I used to use msgbox to show a long message. Some times with a
vbYesNoCancel, or with vbYesOnly. I am wondering if I can get a
vbPrint (but I do not know how). I want to print the message or creat
a new worksheet with the message.