question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: "Different First Page" Header and Footer

See original GitHub issue

How tricky would it be to implement the “Different First Page” feature?

Perhaps something like this?

header1 = '&CMy First Page Header'
header2 = '&CSuccessive Headers'
worksheet.set_header(header1, {'first_only':True})
worksheet.set_header(header2)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
pixelrebelcommented, Jul 14, 2017

Actually turns out I was testing with an old version of excel (2011 Mac). This works perfectly on newer versions of Excel on Windows. I’m going to test a bit further and submit a PR. Please let me know if there’s anything I should add to my PR.

1reaction
jmcnamaracommented, Aug 29, 2017

I don’t see anything obvious wrong but it is hard to tell. In general, getting image ref ids right can be tricky.

When I am developing a feature like this I usually start with test cases based on Excel 2007 files like this or this and then build out the complexity in other test files from there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Want No Header on First Page But DO Want Footer
Select Document > Layout > Different first page (this should create a blank header/footer only for page 1); Go to the first page...
Read more >
How to accommodate different headers and footers in a Word ...
When you need a different header of footer, the first step is to enter a section break as follows: Click the Page Layout...
Read more >
Google Apps Script targeting header on doc with different first ...
The problem is I can't target the header if the designer checks "Different first page header/footer" checkbox. Is there away to target the ......
Read more >
How can I get a different header/footer on the second page?
Check the box for "Different first page" and then click on OK to close that dialog. Now the header box will say "First...
Read more >
Wix Editor Request: Different Header and Footer Designs on ...
Currently, it is not possible to have different header or footer designs on different pages of your Wix site. The same header and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found