Options

Company Logos in Footers and Headers in Excel Automation

jorgemanjorgeman Member Posts: 2
Hi Everyone,

I'm new to this forum, but I hope you guys can help me.

I'm trying to use a company logo on the headers of my worksheets, but the picture just won't show up. I checked the code and compared it to the one in the MVB- Editor and it seems OK. Obviously It's not. :cry:

Code:
PageSetup := Worksheet.PageSetup; 
PageSetup.RightHeaderPicture.Filename('FilepathandName'); 
PageSetup.RightHeaderPicture.Height(275.25); 
PageSetup.RightHeaderPicture.Width(463.5); 
PageSetup.RightHeader('&G'); 



Can anyone help me?

Thanks a lot in advance.

Jorgeman
Sign In or Register to comment.