Re: xlsx Hide Worksheet

168 views
Skip to first unread message

Adrian Dragulescu

unread,
Aug 5, 2014, 7:22:41 PM8/5/14
to Anderson, Eleanor, R-package-xlsx
Hi Eleanor, 

In the future, please send emails to the group and not to me directly. 

Once you have a workbook
wb <- createWorkbook()
you can do
wb$setSheetHidden(0L, 1L) if you want to hide the first sheet (0-based indexing in Java) 
See the documentation here


Best regards, 
Adrian



On Tue, Aug 5, 2014 at 10:14 AM, Anderson, Eleanor <eand...@transitchicago.com> wrote:

Dear Mr. Dragulescu,

 

Thank you for your excellent R package xlsx!  I use it for many things and it always works well.  I have one question:

 

The documentation says: “The user has control to set colors, fonts, data formats, add borders, hide/unhide sheets, add/remove rows, add/remove sheets, etc." (Emphasis mine.)  But I have scoured the documentation, and posted a Stack Overflow question, and still cannot find the way to hide sheets.  Can you point me to it?

 

Thanks much!

Ellie

 

Eleanor Anderson

Analyst, Performance Management

Chicago Transit Authority


Anderson, Eleanor

unread,
Aug 7, 2014, 9:36:36 PM8/7/14
to Adrian Dragulescu, R-package-xlsx

Will do and thanks for the answer!

 

Eleanor Anderson

Analyst, Performance Management

Chicago Transit Authority

 

Reply all
Reply to author
Forward
0 new messages