"Chris McCorquodale" wrote in message <firstname.lastname@example.org>... > I am writing a gui that requires a 'comments' box for users to allow them to make comments/notes etc before saving or printing. > > Initially I thought this would be easy - a big edit box. But that doesn't work as it only allows writing on one line. Also when you run out of room, it doesn't move on to the next line, just goes off the end.
Try using inputdlg(), specifying the number of lines as the 3rd argument. E.g. to show an input dialog with 10 lines: