une


I have a userform that contains a command button that when clicked displays a message box. This message box contains help notes for the user. However I can't quite fit all the text in. When displayed, the message box cuts off the last couple of sentences. I think this is because my help text is the prompt in the message box and it is too long (> 1024 characters). How can I get a few extra sentences into the message box Perhaps there is a better way to display the help text

Re: Increase prompt in message box

Jon Peltier


Display your help text in another userform. This form needs an OK button and a text box large enough to hold the text.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______





Re: Increase prompt in message box

une

Thanks. However the problem with using a text box is that a text box is interactive, allowing the user to click in it and alter the text. I don't want this. I just want an unchangeable message (a rather long help message) to be displayed. How would I do this





Re: Increase prompt in message box

Jon Peltier

I should have said use a label, not a text box. If you need it to scroll, use a textbox, and add this procedure to the code module:

Private Sub TextBox1_Enter()
Me.CommandButton1.SetFocus
End Sub
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______