I have two spreadsheets in one file that are identical. In one spreadsheet I highlighted an area and named it "abc". I created a macro in this spreadsheet to print area "abc" to my printer and called it "printabc". In my second spreadsheet in the same file I highlighted a similar area and named it "def". I created a macro in that spreadsheet to print area "def" to a .pdf file on my computer and called it "savedef".
When I click on the "Form Control" icon on either spreadsheet to run each macro it prints both spreadsheets to the printer. It seems that the "savedef" macro is overrun. I made sure that I Assigned the right macro to the right spreadsheet. When I edit either of the macros they both look identical. Any suggestions to get one of them to print to the printer and the other to print a .pdf file to my computer?
Thank you,
When I click on the "Form Control" icon on either spreadsheet to run each macro it prints both spreadsheets to the printer. It seems that the "savedef" macro is overrun. I made sure that I Assigned the right macro to the right spreadsheet. When I edit either of the macros they both look identical. Any suggestions to get one of them to print to the printer and the other to print a .pdf file to my computer?
Thank you,