<?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: Problem with i_oi_document_proxy-&amp;gt;execute_macro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807794#M1954738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Rossi.&lt;/P&gt;&lt;P&gt;Thanks for help. Yes I separate micro lines with CR_LF.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1016258" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I will try first variant and I got an error 'Object required: excel'. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 09:50:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-16T09:50:02Z</dc:date>
    <item>
      <title>Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807791#M1954735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts.&lt;/P&gt;&lt;P&gt;I 'm using class&amp;nbsp; document_proxy for export some table to Excel.&lt;/P&gt;&lt;P&gt;But I can't execute macro using method document_proxy-&amp;gt;execute_macro( ).&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1015837" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Text macro is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub test ()&lt;/P&gt;&lt;P&gt;Range("A5:E28").select&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1015836" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The message is:&amp;nbsp;&amp;nbsp; TYPE MISMATCH: 'Range'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe somebody faced such problem and can help me to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 03:40:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807791#M1954735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-16T03:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807792#M1954736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try:&lt;/P&gt;&lt;P&gt;set x = excel.activeworkbook&lt;/P&gt;&lt;P&gt;x.range("A5:E28").select&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 08:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807792#M1954736</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-16T08:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807793#M1954737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you separate macro lines with CR_LF ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you try with the simplest call : msgbox("hello world") ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 08:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807793#M1954737</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-16T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807794#M1954738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Rossi.&lt;/P&gt;&lt;P&gt;Thanks for help. Yes I separate micro lines with CR_LF.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1016258" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I will try first variant and I got an error 'Object required: excel'. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807794#M1954738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-16T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807795#M1954739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try with the simplest call : msgbox("hello world") ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807795#M1954739</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-16T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807796#M1954740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simplest call msgbox("hello world") is work. But if I use excel objects such as Excel, Worksheet, Range the execute_macro( ) do not understand it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 01:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807796#M1954740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-17T01:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807797#M1954741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did a test, and we need to add Set excel = GetObject(,"Excel.Application"), then excel.range("A5:E28").select should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 13:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807797#M1954741</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-17T13:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807798#M1954742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much, it is work. &lt;/P&gt;&lt;P&gt;But I thought that execute_marco( ) execute VBA macro, but it turns out that is VBscript macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 04:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807798#M1954742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-18T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807799#M1954743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, with DOI, you may only select VBscript or javascript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 06:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807799#M1954743</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-18T06:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807800#M1954744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sandra very much. I am understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 07:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807800#M1954744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-18T07:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807801#M1954745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I 've got one more question.&amp;nbsp; We have implemented the editor for entering Vbscript text and we need syntax check entering text. It is possible to implement it in SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 04:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807801#M1954745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-19T04:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807802#M1954746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea (maybe write it to a local .vbs file, and call cl_gui_frontend_services=&amp;gt;execute). I always do it that way: first, record the VBA macro (manual actions recorded automatically), adjust it to make it work according to your requirements, then copy it to a VBS file run it and edit it until it works (there are few rules to know to convert a VBA into a VBS).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 13:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807802#M1954746</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-08-19T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807803#M1954747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Sandra.&lt;/P&gt;&lt;P&gt;Thanks for the idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 02:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807803#M1954747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-22T02:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with i_oi_document_proxy-&gt;execute_macro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807804#M1954748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In continuation of the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use execute_macro,&amp;nbsp; we write in marco text such as ws.Range("A3").Value = "Сережа", that is we want write Russian text in cell, but when the macro runs in Excel cell we see abracadabra(jubberwocky). It seems what problem with encoding, but we could not find parameter Encoding in execute marco or in add_marco.&lt;/P&gt;&lt;P&gt;Maybe somebody knows where we can specify the encoding?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 04:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-i-oi-document-proxy-gt-execute-macro/m-p/11807804#M1954748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-25T04:44:02Z</dc:date>
    </item>
  </channel>
</rss>

