I have a button that generates an answer key for a test. The answer key does not contain the question just the answer. Currently the code adjusts the row height to the original row height of the question, which makes the answer key look ridiculous and take up a lot of paper. Is there a VBA to check whether a cell contains a picture, and if not then run an autofit code?