SOLVED

Images in Headers not working and causing issues printing

%3CLINGO-SUB%20id%3D%22lingo-sub-1497447%22%20slang%3D%22en-US%22%3EImages%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1497447%22%20slang%3D%22en-US%22%3E%3CP%3EHad%20a%20client%20complain%20he%20couldn't%20print%20a%20sheet%20with%20a%20logo%20in%20the%20header.%20He%20sent%20it%20to%20me%20and%20neither%20could%20I%20-%20It%20just%20crashed%20Excel%2C%20basically%20Excel%20hung%20with%20high%20CPU%20and%20ended%20up%20having%20to%20end%20task.%20Remove%20the%20image%20and%20its%20perfect.%20That%20led%20me%20to%20assuming%20it%20was%20to%20do%20with%20the%20file%20he'd%20added%20so%20I%20attempted%20to%20add%20one%20but%20found%20that%20image%20insert%20options%20are%20not%20available%20and%20copy%2Fpaste%20of%20an%20image%20doesn't%20work%20when%20in%20the%20header.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20found%20that%20you%20can%20do%20it%20with%20a%20custom%20header%20under%20page%20setup%2C%20custom%20margins%20but%20that%20adds%20the%20image%20but%20introduces%20the%20issue%20with%20printing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20biggest%20issue%20is%20to%20me%20it%20looks%20like%20the%20ability%20to%20add%20images%20to%20headers%20is%20being%20removed%20from%20Excel%20-%20Not%20sure%20why%20as%20a%20logo%20in%20a%20header%20seems%20like%20a%20desirable%20feature.%20But%20when%20searching%20I%20find%20lots%20of%20Microsoft%20docs%20online%20that%20tell%20me%20how%20to%20add%20an%20image%20to%20the%20header%20that%20are%20relevant%20to%20prior%20versions%20but%20nothing%20relevant%20to%20the%20latest%202019%2F365%20version%20but%20also%20nothing%20that%20says%20its%20no%20longer%20supported.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20this%20a%20bug%20that%20will%20be%20fixed%3F%3F%20Is%20it%20a%20%22feature%22%20that%20you%20can't%20really%20add%20images%20to%20headers%20any%20more%20and%20the%20workaround%20I%20provided%20should%20really%20be%20there%20either%3F%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIts%20hard%20for%20me%20to%20give%20my%20customer%20an%20answer%20as%20to%20why%20it%20won't%20work%20when%20I%20can't%20workout%20if%20its%20even%20supposed%20to%20any%20more.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1497447%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1497690%22%20slang%3D%22en-US%22%3ERe%3A%20Images%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1497690%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F713830%22%20target%3D%22_blank%22%3E%40Matt_MobiusNZ%3C%2FA%3E%26nbsp%3BAs%20far%20as%20can%20see%2C%20it's%20still%20there.%20Using%20the%20latest%20version%20of%20Excel%20(W365%2C%20fast%20track)%3C%2FP%3E%3CP%3EInserting%20and%20formatting%20a%20picture%20into%20a%20header%20is%20done%20via%20the%20Page%20set-up%20tab%2C%20Margins%2C%20Custom%20on%20the%20Page%20Lay-out%20ribbon.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-06-30%20at%2008.10.52.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202094i16879C04C0A41E39%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-06-30%20at%2008.10.52.png%22%20alt%3D%22Screenshot%202020-06-30%20at%2008.10.52.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20make%20sure%20that%20the%20space%20between%20the%20header%20margin%20and%20the%20top%20margin%20is%20big%20enough%20to%20contain%20the%20entire%20logo%20(or%20re-size%20the%20logo%20with%20the%20format%20button%20(see%20above).%20In%20the%20attached%20example%2C%20the%20logo%20is%20just%20over%201.5cm%20high%20with%20%26nbsp%3B2.4cm%20between%20the%20Header%20and%20Top%20margins.%20No%20problems%20with%20printing.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-06-30%20at%2008.01.18.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202095iB9EBAFAE3F9240EC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-06-30%20at%2008.01.18.png%22%20alt%3D%22Screenshot%202020-06-30%20at%2008.01.18.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1497882%22%20slang%3D%22en-US%22%3ERE%3A%20Images%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1497882%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F713830%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Matt_MobiusNZ%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EI%20recently%20posted%20a%20tutorial%20focusing%20on%20Headers%20%26amp%3B%20Footers%20including%20(among%20other%20topics)%20the%20issue%20of%20adding%20a%20logo%20and%20resizing%20it.%20It%20also%20shows%20how%20to%20customize%20the%20header%20once%20for%20many%20Sheets%20simultaneously%20and%20how%20to%20link%20a%20header%20to%20cell%20value%20in%20the%20worksheet.%3C%2FP%3E%0A%3CP%3EYou%20can%20watch%20the%20tutorial%20by%20clicking%20on%20the%20link%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dh27gGZD9JBk%26amp%3Bt%3D56s%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dh27gGZD9JBk%26amp%3Bt%3D56s%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20that%20helps%3C%2FP%3E%0A%3CP%3ENabil%20Mourad%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1500264%22%20slang%3D%22en-US%22%3ERE%3A%20Images%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1500264%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F365248%22%20target%3D%22_blank%22%3E%40nabilmourad%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYip%20-%20Know%20HOW%20to%20do%20it%20-%20Its%20the%20fact%20that%20it%20has%20STOPPED%20working.%20The%20way%20you%20demonstrate%20Riny%20still%20works%20to%20add%20it%20but%20Excel%20crashes%20when%20you%20try%20and%20print.%20Not%20always%20but%20often%20including%20with%20images%20and%20headers%20that%20printed%20perfectly%20up%20until%20very%20recently.%20Its%20also%20a%20dreadful%20interface%20as%20you%20can't%20position%20the%20image%20in%20any%20real%20way%2C%20you%20can't%20resize%20it%20or%20anything%20unlike%20inserting%20an%20image%20anywhere%20else.%3CBR%20%2F%3E%3CBR%20%2F%3ETurns%20out%20when%20the%20client%20finally%20got%20back%20to%20me%20with%20more%20information%20these%20are%20spreadsheets%20that%20have%20worked%20for%20years%20have%20suddenly%20started%20crashing%20when%20printing%20with%20a%20Picture%20in%20the%20header.%20Now%20I%20just%20have%20to%20work%20out%20if%20its%20an%20Excel%20bug%20in%20a%20recent%20release%20(We%20are%20both%20fully%20up%20to%20date%20on%20Subscription%20Business%20365%20plans)%20or%20if%20its%20a%20strange%20issue%20linked%20to%20the%20recent%20printing%20bugs%20Microsoft%20have%20introduced%20in%20Windows%2010.%3CBR%20%2F%3E%3CBR%20%2F%3ENeither%20of%20us%20have%20the%20symptoms%20introduced%20with%20recent%2010%20updates%20that%20make%20print%20spooler%20crash%20when%20printing%20but%20it%20could%20but%20the%20fix%20for%20that%20bug%20has%20caused%20another%20but%20I%20suspect%20its%20an%20Excel%20update%20issue%20as%20previously%20you%20could%20go%20into%20layout%20mode%20and%20insert%20pictures%20into%20the%20header%20directly%20and%20now%20you%20can't%20-%20In%20the%20insert%20Tab%20the%20only%20option%20available%20is%20the%20Illustrations%20drop%20down%20(Where%20all%20images%2C%20clipart%20etc%20is%20grouped%20now)%20but%20all%20options%20in%20the%20drop%20down%20are%20greyed%20out%20too.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1500619%22%20slang%3D%22en-US%22%3ERE%3A%20Images%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1500619%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F713830%22%20target%3D%22_blank%22%3E%40Matt_MobiusNZ%3C%2FA%3E%26nbsp%3BIndeed%20frustrating%20when%20things%20don't%20function%20as%20you%20expect%20them%20to.%20But%2C%20allow%20me%20to%20add%20one%20more%20comment.%20In%20your%20screenshot%20you%20show%20the%20Insert%20ribbon%20while%20inside%20the%20header.%20Don't%20you%20have%20a%20separate%20%22Header%20%26amp%3B%20Footer%22%20ribbon%20when%20you%20click%20inside%20the%20header%3F%20See%20picture%20below.%20I%20have%20all%20the%20header%20and%20footer%20options%20here%2C%20including%20inserting%20pictures%20and%20reformatting%20them%20once%20inserted.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-07-01%20at%2006.45.53.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202474i5C9B7921EA15B05E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-07-01%20at%2006.45.53.png%22%20alt%3D%22Screenshot%202020-07-01%20at%2006.45.53.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThis%20is%20my%20Excel%20version%2C%20running%20W10%20on%20a%20virtual%20machine%20on%20a%20MB%20Pro.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-07-01%20at%2006.52.34.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F202476i9A2CD67681EBE9A3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-07-01%20at%2006.52.34.png%22%20alt%3D%22Screenshot%202020-07-01%20at%2006.52.34.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1500836%22%20slang%3D%22en-US%22%3ERE%3A%20Images%20in%20Headers%20not%20working%20and%20causing%20issues%20printing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1500836%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20Riny%20-%20Thats%20good%20info%20-%20I'd%20completely%20missed%20that%20and%20the%20answer%20is%20Sort%20of%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3CBR%20%2F%3E%3CBR%20%2F%3ELooks%20like%20microsoft%20Rapid%20development%20is%20at%20it%20again.%20You%20are%20dead%20right%2C%20by%20default%20when%20in%20Layout%20view%20and%20sitting%20in%20the%20Header%20it%20takes%20me%20to%20a%20new%20ribbon%20-%20Although%20mine%20is%20called%20%22Design%22%20not%20%22Header%20and%20Footer%22%20like%20yours%20but%20the%20content%20looks%20the%20same%20so%20Microsoft%20must%20be%20dabbling%20and%20finalising%20what%20they%20are%20doing.%26nbsp%3B%20That%20ribbon%20does%20make%20it%20much%20easier%20to%20add%20the%20pictures%20and%20does%20work%20but%20its%20still%20a%20terrible%20far%20from%20WYSIWYG%20as%20you%20can't%20resize%20the%20image%20once%20its%20inserted.%20Interestingly%20even%20when%20I%20insert%20a%20massively%20oversized%20image%20that%20ends%20up%20being%20a%20background%20for%20the%20entire%20sheet%20rather%20than%20sitting%20in%20the%20header%20the%20file%20will%20print%20for%20me.%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20I%20need%20to%20work%20out%20if%20something%20has%20become%20corrupted%20in%20his%20sheet%20or%20if%20Microsoft%20have%20pushed%20some%20rapid%20development%20fixes%20out%20overnight%20because%20yesterday%20Mine%20wouldn't%20print%20with%20a%20Brand%20new%20sheet%20with%20an%20image%20inserted%20in%20the%20header.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20was%20just%20tricky%20as%20every%20search%20I%20did%20lead%20to%20documents%20referring%20to%20the%20wrong%20instructions%20for%20older%20versions%20of%20Excel%20and%20I%20found%20one%20reference%20that%20seemed%20to%20indicate%20images%20weren't%20supported%20in%20Headers%20which%20seemed%20to%20fit%20with%20the%20inability%20to%20insert%20using%20the%20insert%20tab.%20No%20idea%20why%20MS%20Dev's%20decided%20that%20the%20logical%20way%20to%20insert%20a%20picture%20in%20a%20header%20isn't%20the%20right%20way.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Had a client complain he couldn't print a sheet with a logo in the header. He sent it to me and neither could I - It just crashed Excel, basically Excel hung with high CPU and ended up having to end task. Remove the image and its perfect. That led me to assuming it was to do with the file he'd added so I attempted to add one but found that image insert options are not available and copy/paste of an image doesn't work when in the header.

 

I then found that you can do it with a custom header under page setup, custom margins but that adds the image but introduces the issue with printing.

 

My biggest issue is to me it looks like the ability to add images to headers is being removed from Excel - Not sure why as a logo in a header seems like a desirable feature. But when searching I find lots of Microsoft docs online that tell me how to add an image to the header that are relevant to prior versions but nothing relevant to the latest 2019/365 version but also nothing that says its no longer supported.

Is this a bug that will be fixed?? Is it a "feature" that you can't really add images to headers any more and the workaround I provided should really be there either??

Its hard for me to give my customer an answer as to why it won't work when I can't workout if its even supposed to any more.

5 Replies
Highlighted

@Matt_MobiusNZ As far as can see, it's still there. Using the latest version of Excel (W365, fast track)

Inserting and formatting a picture into a header is done via the Page set-up tab, Margins, Custom on the Page Lay-out ribbon.

Screenshot 2020-06-30 at 08.10.52.png

 

Just make sure that the space between the header margin and the top margin is big enough to contain the entire logo (or re-size the logo with the format button (see above). In the attached example, the logo is just over 1.5cm high with  2.4cm between the Header and Top margins. No problems with printing.

Screenshot 2020-06-30 at 08.01.18.png

 

Highlighted

Hi @Matt_MobiusNZ

I recently posted a tutorial focusing on Headers & Footers including (among other topics) the issue of adding a logo and resizing it. It also shows how to customize the header once for many Sheets simultaneously and how to link a header to cell value in the worksheet.

You can watch the tutorial by clicking on the link:

https://www.youtube.com/watch?v=h27gGZD9JBk&t=56s

 

Hope that helps

Nabil Mourad

Highlighted

@nabilmourad @Riny_van_Eekelen 

 

Yip - Know HOW to do it - Its the fact that it has STOPPED working. The way you demonstrate Riny still works to add it but Excel crashes when you try and print. Not always but often including with images and headers that printed perfectly up until very recently. Its also a dreadful interface as you can't position the image in any real way, you can't resize it or anything unlike inserting an image anywhere else.

Turns out when the client finally got back to me with more information these are spreadsheets that have worked for years have suddenly started crashing when printing with a Picture in the header. Now I just have to work out if its an Excel bug in a recent release (We are both fully up to date on Subscription Business 365 plans) or if its a strange issue linked to the recent printing bugs Microsoft have introduced in Windows 10.

Neither of us have the symptoms introduced with recent 10 updates that make print spooler crash when printing but it could but the fix for that bug has caused another but I suspect its an Excel update issue as previously you could go into layout mode and insert pictures into the header directly and now you can't - In the insert Tab the only option available is the Illustrations drop down (Where all images, clipart etc is grouped now) but all options in the drop down are greyed out too.

Highlighted
Solution

@Matt_MobiusNZ Indeed frustrating when things don't function as you expect them to. But, allow me to add one more comment. In your screenshot you show the Insert ribbon while inside the header. Don't you have a separate "Header & Footer" ribbon when you click inside the header? See picture below. I have all the header and footer options here, including inserting pictures and reformatting them once inserted.

Screenshot 2020-07-01 at 06.45.53.png

This is my Excel version, running W10 on a virtual machine on a MB Pro.

Screenshot 2020-07-01 at 06.52.34.png

Highlighted

@Riny_van_Eekelen 

 

Thanks Riny - Thats good info - I'd completely missed that and the answer is Sort of

Looks like microsoft Rapid development is at it again. You are dead right, by default when in Layout view and sitting in the Header it takes me to a new ribbon - Although mine is called "Design" not "Header and Footer" like yours but the content looks the same so Microsoft must be dabbling and finalising what they are doing.  That ribbon does make it much easier to add the pictures and does work but its still a terrible far from WYSIWYG as you can't resize the image once its inserted. Interestingly even when I insert a massively oversized image that ends up being a background for the entire sheet rather than sitting in the header the file will print for me.

Now I need to work out if something has become corrupted in his sheet or if Microsoft have pushed some rapid development fixes out overnight because yesterday Mine wouldn't print with a Brand new sheet with an image inserted in the header.

It was just tricky as every search I did lead to documents referring to the wrong instructions for older versions of Excel and I found one reference that seemed to indicate images weren't supported in Headers which seemed to fit with the inability to insert using the insert tab. No idea why MS Dev's decided that the logical way to insert a picture in a header isn't the right way.