I've been working on a new version of an XLS spreadsheet at work (there is v7 and v8, and I'm working on v9). Everything is going well, apart from a rather strange issue.
We use printer PINs in work, so when we send some stuff to the printer, the print job is held in personal storage, and is printed when we go to the printer, type in our PIN, and retrieve the print job.
All versions of the spreadsheet have "Print All" buttons on them, which print certain worksheets all in one go. In v7 and v8, everything works fine. You can print using one of the "Print All" buttons, or via the Office button, and if you have a PIN set up, then nothing will print until you release the print job. But in v9, if you print using any of the above methods, the print job will print immediately, regardless of whether you have a PIN set up or not.
I've checked the code for the "Print All" buttons in v9, and the code is exactly the same, it's just that the array command is extended to cover a few new worksheets that have been added. And if it's printing immediately from the Office button too, then it seems like it can't be a VBA error anyway.
Does anyone know why this could be happening? The file format is still the same (XLS), and I haven't changed the fundamental setup of the spreadsheet in any way. But it could be a real issue, because we have to use printer PINs in work due to data protection, so if I can't fix this, then it may be that v9 can never be used.
Bookmarks