Skip to content

Excel window size #408

Answered by JanMarvin
AnnePdM asked this question in Q&A
Nov 9, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @AnnePdM ,

thanks for asking. Unfortunately we do not yet provide an interface for this, but you can tweak 'windowsWidth' and 'windowHeight' this way:

wb$workbook$bookViews <- '<bookViews><workbookView xWindow="0" yWindow="0" windowWidth="13125" windowHeight="6105"/></bookViews>'

We use the defaults above, which might originate from openxlsx (and non 4k retina displays). I was reminded by an open PR in openxlsx: ycphs/openxlsx#383

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AnnePdM
Comment options

@JanMarvin
Comment options

@AnnePdM
Comment options

Answer selected by AnnePdM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants