<?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 How to disable Excel Macro in BP in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96732#M44917</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I'm trying to write a value to a worksheet cell using the BP Excel VBO object 's "Set Cell Value" action.&amp;nbsp; However, a preset selection menu will popup automatically causing the process hangs.&lt;BR /&gt;&lt;BR /&gt;I tried to disable the Excel Macro from the Options &amp;gt; Trust Center and the it still doesn't work.&lt;BR /&gt;&lt;BR /&gt;Can anyone advise how the Excel macro can be disabled thru BP ?&lt;BR /&gt;&lt;BR /&gt;Many thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;G. Liu&lt;BR /&gt;RPA developer&lt;BR /&gt;---------------------</description>
    <pubDate>Tue, 22 Nov 2022 03:57:06 GMT</pubDate>
    <dc:creator>KWLiu</dc:creator>
    <dc:date>2022-11-22T03:57:06Z</dc:date>
    <item>
      <title>How to disable Excel Macro in BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96732#M44917</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I'm trying to write a value to a worksheet cell using the BP Excel VBO object 's "Set Cell Value" action.&amp;nbsp; However, a preset selection menu will popup automatically causing the process hangs.&lt;BR /&gt;&lt;BR /&gt;I tried to disable the Excel Macro from the Options &amp;gt; Trust Center and the it still doesn't work.&lt;BR /&gt;&lt;BR /&gt;Can anyone advise how the Excel macro can be disabled thru BP ?&lt;BR /&gt;&lt;BR /&gt;Many thanks.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;G. Liu&lt;BR /&gt;RPA developer&lt;BR /&gt;---------------------</description>
      <pubDate>Tue, 22 Nov 2022 03:57:06 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96732#M44917</guid>
      <dc:creator>KWLiu</dc:creator>
      <dc:date>2022-11-22T03:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable Excel Macro in BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96733#M44918</link>
      <description>1. You can change general macro settings in the Trust Center (M365). Choose &lt;B class="ocpRunInHead"&gt;Disable all macros without notification&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;2. You can save the file as ".xls " or ".xlsx" before with the Excel VBO "Save Workbook as". To force the format of the file, you can create a new page "Save Workbook as .xlsx" with this code stage:&lt;BR /&gt;&lt;BR /&gt;Dim wb as Object = GetWorkbook(handle,workbookname)&lt;BR /&gt;Dim excel as Object = wb.Application&lt;BR /&gt;&lt;BR /&gt;excel.DisplayAlerts = False&lt;BR /&gt;wb.SaveAs (filename, 51)&lt;BR /&gt;excel.DisplayAlerts = True&lt;BR /&gt;&lt;BR /&gt;newworkbookname = wb.Name</description>
      <pubDate>Tue, 22 Nov 2022 07:10:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96733#M44918</guid>
      <dc:creator>Ronnyg</dc:creator>
      <dc:date>2022-11-22T07:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable Excel Macro in BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96734#M44919</link>
      <description>Hi Ronny&lt;BR /&gt;&lt;BR /&gt;Thanks for the advice.&amp;nbsp; However, I have finally come up with an easier solution.&lt;BR /&gt;I created a collection with 2 fields. The 2nd field contains the value to be written to the cell with&lt;SPAN&gt;&amp;nbsp;preset selection menu.&amp;nbsp; I then use the normal write to cell function from BP which starts writing the collection to the cell on the left. And it did write 2 values in 2 cells and no more popup menu !&lt;BR /&gt;&lt;BR /&gt;And of course, I have disabled all the macros from the Excel Trust Center.&lt;BR /&gt;&lt;BR /&gt;Many Thanks.&lt;/SPAN&gt;</description>
      <pubDate>Thu, 24 Nov 2022 11:59:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-disable-Excel-Macro-in-BP/m-p/96734#M44919</guid>
      <dc:creator>KWLiu</dc:creator>
      <dc:date>2022-11-24T11:59:40Z</dc:date>
    </item>
  </channel>
</rss>

