Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Setting the Headers and Footers in Excel 2007 when exporting Information from Cobol program

I am getting the error "Unable to set the LeftHeader property of the
PageSetup Class" when I try to export data to Excel 2007.

Here is the code I am using:

MODIFY WORKSHEET @PageSetup::LeftHeader = GUI-HEADER-TITLE.

I have also tried creating a PageSetup object and then modifying that
object, but that also gives me the above error when the exporting to
Excel.

The above code does work in Excel 2003. But I am not exactly sure
what I need to go to get the Headers and Footers to work in Excel
2007.

Anyone have any ideas?

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove headers & Footers Excel 2007 Joel Excel Worksheet Functions 3 August 12th 13 03:42 PM
Setting up Default Headers/Footers in Excel Dragon Lady Excel Discussion (Misc queries) 3 September 1st 09 07:57 PM
Excel 2007, Headers & Footers question pgarcia Excel Discussion (Misc queries) 2 November 3rd 08 09:05 PM
Headers and Footers in Excel 2007 allquestionsnoanswers Excel Discussion (Misc queries) 4 July 24th 08 07:37 PM
Exporting cobol files to excel Herpenc Excel Programming 1 June 6th 06 01:19 PM


All times are GMT +1. The time now is 03:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"