<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Passing Data To object in MS-Excel 2003</title><link>https://www.infopathdev.com:443/forums/thread/6563.aspx</link><pubDate>Wed, 16 Mar 2005 09:20:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6563</guid><dc:creator>tuna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6563</wfw:commentRss><description>Hello Patrick,&lt;br /&gt;&lt;br /&gt;    I could solve my problem. I'm thanks a lot for your helpness. I will send source code to be knowledge for other people.&lt;br /&gt;&lt;br /&gt;function dolink()&lt;br /&gt;{&lt;br /&gt;	var para1 = XDocument.DOM.selectSingleNode("/my:myFields/my:para1");&lt;br /&gt;	var oExcel = new ActiveXObject("Excel.Application");&lt;br /&gt;&lt;br /&gt;	oExcel.Workbooks.Add ("c:\\temp\\excel1.xls");&lt;br /&gt;	oExcel.Sheets("sheet1").Select;&lt;br /&gt;&lt;br /&gt;        //link data to optionbutton&lt;br /&gt;        oExcel.ActiveSheet.OLEObjects("OptionButton1").Object.Value = 1;&lt;br /&gt;&lt;br /&gt;        //insert data to row 10&lt;br /&gt;	oExcel.Range("A10").value = para1.text;     &lt;br /&gt;	oExcel.Rows(10).Insert;	&lt;br /&gt;	oExcel.Range("A10").value = "test insert new row";&lt;br /&gt;    &lt;br /&gt;        oExcel.Visible = 1;  &lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Bye *^-^*</description></item><item><title>Re: Passing Data To object in MS-Excel 2003</title><link>https://www.infopathdev.com:443/forums/thread/6562.aspx</link><pubDate>Thu, 10 Mar 2005 08:43:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6562</guid><dc:creator>tuna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6562.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6562</wfw:commentRss><description>Thanks for your reply. I would like to pass value from Infopath&amp;#39;s Optionbutton to OptionButton in MS-Excel&amp;#39;s Visual Basic tool.&lt;br /&gt;And I have another question is I want to send data from repeat table to MS-Excel by inserting new row automatically which I will code jsscript program in submit button. And I have my coding in following,&lt;br /&gt;&lt;br /&gt;function dolink()&lt;br /&gt;{&lt;br /&gt;	var para1 = XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:para1&amp;quot;);&lt;br /&gt;	var oExcel = new ActiveXObject(&amp;quot;Excel.Application&amp;quot;);&lt;br /&gt;	oExcel.Workbooks.Add (&amp;quot;D:\\infopath\\excel1.xls&amp;quot;);&lt;br /&gt;	oExcel.Sheets(&amp;quot;sheet1&amp;quot;).Select;&lt;br /&gt;&lt;br /&gt;	// test link data to optionbutton&lt;br /&gt;	oExcel.ActiveSheet.Shapes(&amp;quot;OptionButton1&amp;quot;).Select; //this line  error&lt;br /&gt;    	oExcel.Selection.Value = True;&lt;br /&gt;&lt;br /&gt;	// test insert new row in MS-EXCEL &lt;br /&gt;    	oExcel.Rows(&amp;quot;10:10&amp;quot;).Select;&lt;br /&gt;    	oExcel.Selection.Insert Shift:=xlDown; //this line  error&lt;br /&gt;   	oExcel.Range(&amp;quot;A10&amp;quot;).value = para1.text;&lt;br /&gt;&lt;br /&gt;	oExcel.Visible = 1;&lt;br /&gt;}  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have the best solution,please tell me.&lt;br /&gt;Thank you very much. :)</description></item><item><title>Re: Passing Data To object in MS-Excel 2003</title><link>https://www.infopathdev.com:443/forums/thread/6561.aspx</link><pubDate>Thu, 10 Mar 2005 08:08:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6561</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6561.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6561</wfw:commentRss><description>Hi Tuna,&lt;br /&gt;Can you please give more details? What is the user scenario? What is the option button? Have you tried Export to Excel from InfoPath or using schemas from Excel to load the xml files?&lt;br /&gt;Patrick</description></item><item><title>Passing Data To object in MS-Excel 2003</title><link>https://www.infopathdev.com:443/forums/thread/4577.aspx</link><pubDate>Thu, 10 Mar 2005 03:53:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4577</guid><dc:creator>tuna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4577.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4577</wfw:commentRss><description>Would you help me about passing data from infopath (office 2003) to optionbutton in MS-Excel 2003?&lt;br /&gt;Thanks a lot. :)&lt;br /&gt;</description></item></channel></rss>