title: Use VBA to crop gray space from print screen
body: <p>I'm using Excel VBA and I would like to crop out a gray background and leave a white foreground. I'm using a CNC program, but imagine using Word and zooming out so all sides of the page is visible and the background is gray. How could I automatically crop out the background using VBA from a screenshot? The white space isn't always in the center and it varies in sizes. Any ideas?</p>