General information
Title:
How do you set an Excel Header?
I am creating a spreadsheet with the following code:
ExcelObj = CreateObject('Excel.Application')
ExcelObj.Visible = .T.
ExcelObj.Workbooks.Add
ExcelBook = ExcelObj.ActiveWorkbook
ExcelSheet = ExcelBook.Activesheet
I have no problem filling the spreadsheet, but I am having a hard time finding out how to put in the title of the spreadsheet. In excel, it would be under Page Setup/Custom Header. Can anyone help with the syntax?
Thanks,
Mark
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only