Excel to Rhino Script

See this thread. There are examples