<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Read Radio Button Value from Excel using OLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-radio-button-value-from-excel-using-ole/m-p/451420#M13783</link>
    <description>&lt;P&gt;hey sri,&lt;/P&gt;
  &lt;P&gt;suppose there are 5 radio button in 5 rows , so for those 5 radio button only 1 radio button will be selected automatically ,&lt;/P&gt;
  &lt;P&gt;now acc to the logic&lt;/P&gt;
  &lt;P&gt;FORM SUB_SELECT_CELL USING P_ROWID TYPE ANY&lt;BR /&gt; P_COLID TYPE ANY.&lt;BR /&gt; CALL METHOD OF WA_EXCEL 'CELLS' = WA_SCELL&lt;BR /&gt; EXPORTING&lt;BR /&gt; #1 = P_ROWID&lt;BR /&gt; #2 = P_COLID.&lt;BR /&gt; * Handle error&lt;BR /&gt; PERFORM ERR_HDL.&lt;BR /&gt; ENDFORM.&lt;/P&gt;
  &lt;P&gt;****************************************************************************************************&lt;/P&gt;
  &lt;P&gt;PERFORM SUB_SELECT_CELL USING OP_SIDE E.&lt;BR /&gt; SET PROPERTY OF WA_SCELL 'Value' = 1. &lt;/P&gt;
  &lt;P&gt;****************************************************************************************************&lt;/P&gt;
  &lt;P&gt;in op_side select your row no. acc to the logic then set value to 1 for that particular row and coloumn.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Mar 2018 12:27:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-03-16T12:27:24Z</dc:date>
    <item>
      <title>Read Radio Button Value from Excel using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-radio-button-value-from-excel-using-ole/m-p/451419#M13782</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I Need to retrieve the radio button value (Which radio button is selected) from excel and code in ABAP program.&lt;/P&gt;&lt;P&gt;I am trying this using OLE automation. &lt;/P&gt;&lt;P&gt;Below is my Macro coding&lt;/P&gt;&lt;P&gt;'PO Status&lt;BR /&gt;  If (Sheet6.OptionButton1.Value = True) Then&lt;BR /&gt;  POStatus = "Ack"&lt;BR /&gt;  ElseIf (Sheet6.OptionButton2.Value = True) Then&lt;BR /&gt;  POStatus = "Rejected"&lt;BR /&gt;  End If&lt;/P&gt;&lt;P&gt;How to convert the above to OLE. I used the coding as below, but I am not getting any value. &lt;/P&gt;&lt;P&gt; CREATE OBJECT e_button 'EXCEL.OPTIONBUTTON'.&lt;BR /&gt;
&lt;BR /&gt;
 CALL METHOD OF e_button 'OPTIONBUTTONS' = e_option1.&lt;BR /&gt;
&lt;BR /&gt;
 CALL METHOD OF e_option1 'NAME'&lt;BR /&gt;
 EXPORTING&lt;BR /&gt;
 #1 = 'OPTIONBUTTON1'.&lt;BR /&gt;
&lt;BR /&gt;
 GET PROPERTY OF e_option1 'Value' = p_val.&lt;/P&gt;&lt;P&gt;Kindly help on this.&lt;/P&gt;&lt;P&gt;By the way, Is there any other way to get the radio button value from Excel ?? &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 02:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-radio-button-value-from-excel-using-ole/m-p/451419#M13782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-03-23T02:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Read Radio Button Value from Excel using OLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-radio-button-value-from-excel-using-ole/m-p/451420#M13783</link>
      <description>&lt;P&gt;hey sri,&lt;/P&gt;
  &lt;P&gt;suppose there are 5 radio button in 5 rows , so for those 5 radio button only 1 radio button will be selected automatically ,&lt;/P&gt;
  &lt;P&gt;now acc to the logic&lt;/P&gt;
  &lt;P&gt;FORM SUB_SELECT_CELL USING P_ROWID TYPE ANY&lt;BR /&gt; P_COLID TYPE ANY.&lt;BR /&gt; CALL METHOD OF WA_EXCEL 'CELLS' = WA_SCELL&lt;BR /&gt; EXPORTING&lt;BR /&gt; #1 = P_ROWID&lt;BR /&gt; #2 = P_COLID.&lt;BR /&gt; * Handle error&lt;BR /&gt; PERFORM ERR_HDL.&lt;BR /&gt; ENDFORM.&lt;/P&gt;
  &lt;P&gt;****************************************************************************************************&lt;/P&gt;
  &lt;P&gt;PERFORM SUB_SELECT_CELL USING OP_SIDE E.&lt;BR /&gt; SET PROPERTY OF WA_SCELL 'Value' = 1. &lt;/P&gt;
  &lt;P&gt;****************************************************************************************************&lt;/P&gt;
  &lt;P&gt;in op_side select your row no. acc to the logic then set value to 1 for that particular row and coloumn.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 12:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-radio-button-value-from-excel-using-ole/m-p/451420#M13783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-03-16T12:27:24Z</dc:date>
    </item>
  </channel>
</rss>

