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

xlsm format not working #425

Open
bouaik opened this issue Aug 11, 2022 · 3 comments
Open

xlsm format not working #425

bouaik opened this issue Aug 11, 2022 · 3 comments

Comments

@bouaik
Copy link

bouaik commented Aug 11, 2022

I'm generating a xlsm format but office 365 excel can't open it

workbook = RubyXL::Workbook.new

worksheet = workbook.add_worksheet('Sheet2')

worksheet.add_cell(0, 0, 'Test')      # Sets cell A1 to string "Test"

workbook.write("file.xlsm")
@harsh183
Copy link

Could you generate an xlsx and then convert that to xlsm?

@bouaik
Copy link
Author

bouaik commented Aug 22, 2022

convert it directly in excel you mean ??

@harsh183
Copy link

Yeah, like can you generate an xlsx file using rubyXL and then convert to xlsm using an external tool?

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