PC Review


Reply
Thread Tools Rate Thread

Who Can Develop a new vbPrint?

 
 
Curious
Guest
Posts: n/a
 
      13th Jun 2009
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.

Can you help?

H.Z.
 
Reply With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      13th Jun 2009
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
<b7d4b2f1-7c29-435d-a2a1-(E-Mail Removed)>,
Curious <(E-Mail Removed)> 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.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Develop CSP in XP SP3 izyani Windows XP 0 11th Dec 2008 06:46 AM
How to develop Peter Microsoft ASP .NET 5 31st Jul 2008 02:56 AM
What OS do you develop on? Richard Carpenter Microsoft C# .NET 4 27th Apr 2008 05:23 PM
XML Develop Rshah Microsoft VB .NET 0 6th Mar 2008 06:14 AM
Develop a Dot net Web App with something other than IIS? David Microsoft Dot NET Framework 2 4th Nov 2004 03:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:55 PM.