private void button3_Click(object sender, RibbonControlEventArgs e) { //string url1 = @"http://www.matrix67.com/blog/feed"; //Excel.Range rng = (Excel.Range)Globals.ThisAddIn.Application.Selection; //rng.Value = MyGrab.GetContent(url1); //rng.AutoFitRange(100); string url2 = @"http://blog.sina.com.cn/rss/1748013412.xml"; Excel.Range rng = (Excel.Range)Globals.ThisAddIn.Application.Selection; rng.Value = MyGrab.GetContent(url2); rng.AutoFitRange(100); }