Sha256: 7cbfdb9860a039b393e170e9af4f338a451116360e9e3c1bcf73c415be6e4693
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true require_relative './xlsx_func_testcase' class TestMacro < XlsxWriterTestCase test 'macro01.xlsm' do |wb| wb .add_vba_project(image_path('vbaProject01.bin')) .add_worksheet .write_number(0, 0, 123) end test 'macro02.xlsm' do |wb| wb.add_vba_project(image_path('vbaProject03.bin')) wb.vba_name = 'MyWorkbook' ws = wb.add_worksheet ws.vba_name = 'MySheet1' ws.write_number(0, 0, 123) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xlsxwriter-0.2.2 | test/test_macro.rb |