D
Deepa Rajendran
Hai friends,
How to fetch an excel sheet name in ruby...
How to fetch an excel sheet name in ruby...
Deepa said:Hai friends,
How to fetch an excel sheet name in ruby...
y...2009/2/24 Deepa Rajendran said:Hai friends,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0How to fetch an excel sheet name in rub=
You can do it using win32ole like this:
require 'win32ole'
xl =3D WIN32OLE.new('Excel.Application')
wb =3D xl.Workbooks.Open("c:/work/test.xls")
ws =3D wb.Worksheets(1)
puts ws.Name
wb.Close
xl.Quit
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.