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

set_format don't work in existing workbook #2

Open
markd2lp opened this issue Jan 31, 2012 · 0 comments
Open

set_format don't work in existing workbook #2

markd2lp opened this issue Jan 31, 2012 · 0 comments

Comments

@markd2lp
Copy link

I have this code:

book = Spreadsheet.open "#{Rails.root.to_s}/public/modelos/geral.xls"
sheet = book.worksheet 0

But when i try change some format, like border collumn, dont work.

format = Spreadsheet::Format.new(:border => true)
sheet.row(x).set_format(y, format)

I saw that font weight was change to bold, but it dont was in format, and dont create any border.

Spreadsheet: 0.6.8
Rails: 3.0.9
Ruby: 1.8.7

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

1 participant