summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/ext/win32ole/sample/excel3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_5/ext/win32ole/sample/excel3.rb')
-rw-r--r--ruby_1_8_5/ext/win32ole/sample/excel3.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/ruby_1_8_5/ext/win32ole/sample/excel3.rb b/ruby_1_8_5/ext/win32ole/sample/excel3.rb
deleted file mode 100644
index 0f96717063..0000000000
--- a/ruby_1_8_5/ext/win32ole/sample/excel3.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require 'win32ole'
-
-#application = WIN32OLE.new('Excel.Application.5')
-application = WIN32OLE.new('Excel.Application')
-
-application.visible = TRUE
-workbook = application.Workbooks.Add();
-sheet = workbook.Worksheets(1);
-sheetS = workbook.Worksheets
-puts "The number of sheets is #{sheetS.count}"
-puts "Now add 2 sheets after of `#{sheet.name}`"
-sheetS.add({'count'=>2, 'after'=>sheet})
-puts "The number of sheets is #{sheetS.count}"