I've added a CommonDialog control to my Form1, and in that form's code I've included:
Private Sub mnuFile_PageSetup_Click()
.CancelError = True
.DialogTitle = "Page Setup"
.Flags = cdlPDPrintSetup
I run the app and VB stops at the dlgCommonDialog line and brings up a "variable not defined" message.
Why is this and how do I fix it?
Thanks in advance