Do you want to print the messagebox? If so, instead of using a messagebox(or msgbox) use a dialog and and a printform. That away, the only code you'd need is:
Code:
PrintForm1.Print()
If it isn't, then you should elaborate your question.