how to handle pivot table window and its controls using ruby

V

Vamsi Krishna

Hi

i want to handle the PivotTable window and its controlls like radio
buttons and buttons in excel using ruby.

i tried but no luck.is there any tutorial or can any one help me out.

require "win32ole"
excel=WIN32OLE.new("Excel.Application")
excel.visible=true
workbook = excel.Workbooks.Add
menubar_list=excel.CommandBars("Worksheet Menu Bar").Controls("&Data")
menubar_list.Execute
sleep 1
pvt=menubar_list.Controls("&PivotTable and PivotChart Report...")
pvt.Execute

******** Need to handle the PivotTable and PivotChart Report window and
its controls (radio buttons and buttons )for the 3 steps of PivotTable
and PivotChart Report window.

Thanks
Vk.
 

Ask a Question

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.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top