Enable vertical scrollbar in MessageBox?

K

kgerritsen

I have a procedure that interrogates a log file when the user first
launches, and displays new rows (delimited with vbNewLine) in a simple
MessageBox(logString, "Events since last run")

Most of the time, that's fine. In rare conditions, the number of rows
in the string exceeds the vertical height of the window. Is there any
way to set the MessageBox to autosize to fit the window and have a
vertical scrollbar?

Because I am lazy, I don't want to necessarily implement my own dialog
box for this but it's not a big deal to do so if necessary.

Regards,
Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top