Yes. The error occurs in the pagesetup method when trying to run this line of code:
.papersize = m.ot.npapersize
.papersize value is 41 and the value of m.ot.npapersize is 7.00. When running my application m.ot.npapersize is 2.00.
If I try to set it in the watch window it says that .papersize is not a by reference property
Randy Belcher
AFG Industries, Inc.