I'm not a programmer but I thought I'd give it a try to update an existing macro we currently have to save a drawings as a .PDF file instead of the eDrawings file we used to use. I've got the save as part of the macro working but ran into a snag when trying to specify the PDF options, specifically the two DPI options. the macro runs fine with these two command lines commented out but if I uncomment either one or both I get an "error number 438" message. The code is attached (at least part of it). I highlighted in yellow the two line I'm having problems with.
Anyone have any idea what's wrong and how I can fix it?