Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labelling a sheet #49

Open
jasmeralia opened this issue Aug 16, 2018 · 1 comment
Open

Labelling a sheet #49

jasmeralia opened this issue Aug 16, 2018 · 1 comment

Comments

@jasmeralia
Copy link

I'm not sure if this is currently implemented and not documented, or if it's not currently implemented, but I'd like to be able to change the name of sheets. I have a script to generate a report of EBS volumes against a given AWS account, with different sheets for each supported AWS region. I'd like to be able to rename Sheet 1 to us-east-1, Sheet 2 to us-west-2, Sheet 3 to eu-west-1, etc.

@cxn03651
Copy link
Owner

for example:
require 'writeexcel'

workbook = Writeexcel.new('excel.xls')
worksheet1 = workbook.add_worksheet('us-east-1')
worksheet2 = workbook.add_worksheet('us-west-2')
worksheet3 = workbook.add_worksheet('eu-west-1')
...
...
workbook.close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants