how to insert Image to Excel page header

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
moviestar
Posts: 1
Joined: Thu Mar 20, 2014 5:59 am

how to insert Image to Excel page header

Post by moviestar »

Hello everyone,
I want to insert a image to the excel page header, use the Excel's VBA macro, i found this:

Code: Select all

    ActiveSheet.PageSetup.LeftHeaderPicture.Filename = "D:\SnapShot\main_logo.bmp"
    Application.PrintCommunication = False
    With ActiveSheet.PageSetup
        .LeftHeader = "&G"
        .CenterHeader = "&G"
        .RightHeader = ""
        .LeftFooter = ""
...
I know insert a image to a Excel Cell is easy:
xlsWorkSheet.Drawing.InsertImage()

but I didn't find related property like "PageSetup.LeftHeaderPicture" in the xlsReadWriteII 5?
is this be supported in xlsReadWriteII5?

thanks in advance!
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: how to insert Image to Excel page header

Post by larsa »

Hello

Sorry, this is not supported.
Lars Arvidsson, Axolot Data
Post Reply