where it returns the error "Object variable or With block not set" and I have no idea why it does that. The PDF export works on another script but when I compare them I can't find where they are different. Or why my script doesn't work. So I have decided to come here with hat in hand to see if the community might help me out. Please let me know if everything is in the script. It should be 4 modules. AlignDimensions, positioning, scaleview constant and OutputDrwConfig.