[VBA] Found source of corruption, how do I remove /xl/printerSettings/printerSettings1.bin from file?

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
788
Office Version
  1. 2010
Platform
  1. Windows
Hi all, have a very macro heavy and business critical worksheet that is corrupting multiple times daily since an office move. It seems to be centred around the PrinterSettings component, which makes sense seeing as all our print setup has changed due to the new office.


We work in 2010 and it wasn't being verbose, but after attempting to open and then repairing the file on my home 365 setup, it gives me the following:

Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
Removed Part: /xl/printerSettings/printerSettings1.bin part. (Print options)

If I rename the file from Price Panels 2021.xlsm to Price Panels 2021.zip, then go into the file and delete the PrinterSettings1-10.bin files, I can then open the sheet happily without needing to repair and this seems to solve the problem. But I fear that this is only temporary and the printer settings will return, so I'm asking is there a way to permanently remove these PrinterSettings files? Thank you.
 
Think I've found it. LogMeIn (Remote working) sets a funky default onenote printer, and this is why every time someone opens the file it corrupts. We've removed these printers and so far so good.
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,214,788
Messages
6,121,580
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top