<?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: OLE Image in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597265#M1567932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; this is SAP code not VB code.&lt;/P&gt;&lt;P&gt;I am calling VB method from SAP.&lt;/P&gt;&lt;P&gt;I am sending you more data around it to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    data: go_excel       type ole2_object,&lt;/P&gt;&lt;P&gt;          Go_CELL        TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_workbooks   TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_workbook    TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_sheet       type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_application type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_activesheet type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_text        type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;         go_picture    type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt; go_select      type OLE2_OBJECT.&lt;/P&gt;&lt;P&gt;****INITIATE EXCEL&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create object Excel&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    create object go_excel 'EXCEL.APPLICATION'.&lt;/P&gt;&lt;P&gt;    set property of go_excel 'Visible' = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create workbook object&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call method of go_excel 'WORKBOOKS' = go_workbook .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Add workbook&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call method of go_workbook 'Add' = go_workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Activate worksheet&lt;/P&gt;&lt;P&gt;    call method of go_excel 'Worksheet' =  go_activesheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get active sheet Picture object&lt;/P&gt;&lt;P&gt;get property of go_activesheet 'Pictures' = go_picture.&lt;/P&gt;&lt;P&gt;call method of go_picture 'Insert'&lt;/P&gt;&lt;P&gt;#1 = '&amp;lt;\file path app server&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method of go_excel 'Range' = go_cell&lt;/P&gt;&lt;P&gt;exporting #1 = 'B9'&lt;/P&gt;&lt;P&gt;exporting #2 = 'B9'&lt;/P&gt;&lt;P&gt;cal method go_cell "select' = go_select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jan 2011 19:01:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-05T19:01:13Z</dc:date>
    <item>
      <title>OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597260#M1567927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone here know how to add images to excel file using OLE classes? Im only interested in getting images from the server not from the local server. Your help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 02:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597260#M1567927</guid>
      <dc:creator>john_wayne</dc:creator>
      <dc:date>2011-01-05T02:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597261#M1567928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;****INITIATE EXCEL
* Create object Excel
    create object go_excel 'EXCEL.APPLICATION'.
    set property of go_excel 'Visible' = 0.
* Create workbook object
    call method of go_excel 'WORKBOOKS' = go_workbook .

go_workbook.ActiveSheet.range("B9").Select

go_workbook.ActiveSheet.Pictures.Insert(/sap/picture/picture.bmp")&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 06:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597261#M1567928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-05T06:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597262#M1567929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gs_wbooklist.ActiveSheet.range("B9").Select&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;gs_wbooklist.ActiveSheet.Pictures.Insert(/sap/picture/picture.bmp")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this 2 lines are vb codes how am i going to use it witin abap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 06:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597262#M1567929</guid>
      <dc:creator>john_wayne</dc:creator>
      <dc:date>2011-01-05T06:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597263#M1567930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get a chace to check this Wiki by Gary Almeida on:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Insert Picture Image in Excel using OLE Automation|https://wiki.sdn.sap.com/wiki/display/Community/Insert%20Picture%20Image%20in%20Excel%20using%20OLE%20Automation]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 07:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597263#M1567930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-05T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597264#M1567931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Community/Insert" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/Community/Insert&lt;/A&gt;&lt;EM&gt;Picture&lt;/EM&gt;Image&lt;EM&gt;in&lt;/EM&gt;Excel&lt;EM&gt;using&lt;/EM&gt;OLE+Automation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theres a Wiki regarding this..check this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 07:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597264#M1567931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-05T07:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597265#M1567932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; this is SAP code not VB code.&lt;/P&gt;&lt;P&gt;I am calling VB method from SAP.&lt;/P&gt;&lt;P&gt;I am sending you more data around it to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    data: go_excel       type ole2_object,&lt;/P&gt;&lt;P&gt;          Go_CELL        TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_workbooks   TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_workbook    TYPE OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_sheet       type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_application type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_activesheet type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;          go_text        type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt;         go_picture    type OLE2_OBJECT,&lt;/P&gt;&lt;P&gt; go_select      type OLE2_OBJECT.&lt;/P&gt;&lt;P&gt;****INITIATE EXCEL&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create object Excel&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    create object go_excel 'EXCEL.APPLICATION'.&lt;/P&gt;&lt;P&gt;    set property of go_excel 'Visible' = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create workbook object&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call method of go_excel 'WORKBOOKS' = go_workbook .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Add workbook&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    call method of go_workbook 'Add' = go_workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Activate worksheet&lt;/P&gt;&lt;P&gt;    call method of go_excel 'Worksheet' =  go_activesheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get active sheet Picture object&lt;/P&gt;&lt;P&gt;get property of go_activesheet 'Pictures' = go_picture.&lt;/P&gt;&lt;P&gt;call method of go_picture 'Insert'&lt;/P&gt;&lt;P&gt;#1 = '&amp;lt;\file path app server&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method of go_excel 'Range' = go_cell&lt;/P&gt;&lt;P&gt;exporting #1 = 'B9'&lt;/P&gt;&lt;P&gt;exporting #2 = 'B9'&lt;/P&gt;&lt;P&gt;cal method go_cell "select' = go_select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 19:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-image/m-p/7597265#M1567932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-05T19:01:13Z</dc:date>
    </item>
  </channel>
</rss>

