<?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: Attaching excel instance by excel vbo with macro in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Attaching-excel-instance-by-excel-vbo-with-macro/m-p/87923#M38564</link>
    <description>Hi Pooja,&lt;BR /&gt;&lt;BR /&gt;Trying to understand what's going on: So your XL is already opened and your process has attached to it (by creating an instance) and when you access it the process creates a new instance?&lt;BR /&gt;&lt;BR /&gt;The usual way to use an existing XL in a process is:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;create an instance (you'll get a handle back)&lt;/LI&gt;
&lt;LI&gt;open the XL with the handle and path&lt;/LI&gt;
&lt;LI&gt;work with the XL (get data, write data)&lt;/LI&gt;
&lt;LI&gt;save (or save as) the XL&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;close the XL&lt;/LI&gt;
&lt;/UL&gt;
If you don't start by creating an instance, you do not have a handle and the process cannot open the XL.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Nov 2022 07:16:00 GMT</pubDate>
    <dc:creator>PvD_SE</dc:creator>
    <dc:date>2022-11-02T07:16:00Z</dc:date>
    <item>
      <title>Attaching excel instance by excel vbo with macro</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Attaching-excel-instance-by-excel-vbo-with-macro/m-p/87922#M38563</link>
      <description>I have an issue where i am trying to run macro on the workbook opened by excel but it instead is creating a new excel instance to run the macro on that.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pooja Verma&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2022 04:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Attaching-excel-instance-by-excel-vbo-with-macro/m-p/87922#M38563</guid>
      <dc:creator>PoojaVerma</dc:creator>
      <dc:date>2022-11-02T04:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Attaching excel instance by excel vbo with macro</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Attaching-excel-instance-by-excel-vbo-with-macro/m-p/87923#M38564</link>
      <description>Hi Pooja,&lt;BR /&gt;&lt;BR /&gt;Trying to understand what's going on: So your XL is already opened and your process has attached to it (by creating an instance) and when you access it the process creates a new instance?&lt;BR /&gt;&lt;BR /&gt;The usual way to use an existing XL in a process is:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;create an instance (you'll get a handle back)&lt;/LI&gt;
&lt;LI&gt;open the XL with the handle and path&lt;/LI&gt;
&lt;LI&gt;work with the XL (get data, write data)&lt;/LI&gt;
&lt;LI&gt;save (or save as) the XL&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;close the XL&lt;/LI&gt;
&lt;/UL&gt;
If you don't start by creating an instance, you do not have a handle and the process cannot open the XL.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2022 07:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Attaching-excel-instance-by-excel-vbo-with-macro/m-p/87923#M38564</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2022-11-02T07:16:00Z</dc:date>
    </item>
  </channel>
</rss>

