<?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: OLEDB INSERT Statement in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94529#M43938</link>
    <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;The only problem was some places there were actual data which were needed and some rows were NULL. If I press control key + '-' all the wanted data data also got removed . It became empty sheet and data got pasted. However it is also very difficult to search particular NULL rows and delete those NULL rows as my excel sheet contain 4000 rows of data in between some are NULL rows. Only option for me is to remove all the data and make it a blank sheet by pressing control key +'-'&amp;nbsp; AND RUN THE insert COMMAND.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Marina&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Feb 2022 14:23:00 GMT</pubDate>
    <dc:creator>MarinaDutta</dc:creator>
    <dc:date>2022-02-02T14:23:00Z</dc:date>
    <item>
      <title>OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94509#M43918</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I have two excel files which I am opening using OLEDB.&lt;BR /&gt;&lt;BR /&gt;I want to put filter at a column [INPUT]=@ and copy the datas from Column B,C,D,E ,F from the source&amp;nbsp; excel sheet to another excel sheet B,C,D,E&lt;BR /&gt;&lt;BR /&gt;How to write the Insert statement . Is it something like this below.&lt;BR /&gt;&lt;BR /&gt;"INSERT INTO [Sheet1$] ([A],&lt;B&gt;,[C],[D],[E])VALUES([Output.A]&amp;amp;"",[Output.B]&amp;amp;"",[Output.C],[Output.D],[Output.E])"&lt;BR /&gt;&lt;BR /&gt;where Sheet1 is the name of my destination sheet where data will be pasted.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Source Excel Sheet&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25079.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25213i91F46F94CD57544E/image-size/large?v=v2&amp;amp;px=999" role="button" title="25079.png" alt="25079.png" /&gt;&lt;/span&gt;Destination Sheet&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25080.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25212iBE3FCB8DF532C351/image-size/large?v=v2&amp;amp;px=999" role="button" title="25080.png" alt="25080.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/B&gt;</description>
      <pubDate>Tue, 01 Feb 2022 02:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94509#M43918</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T02:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94510#M43919</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;In order to write the data in the second sheet from your screenshot, you can't directly use that insert query as you data range does not starts from the beginning of the excel sheet which is 'A1'. &lt;BR /&gt;&lt;BR /&gt;From what I can see, the first excel row is going to be blank and the data also needs to be written specifically from B2 cell to E column. Hence your query will get modified like this: &lt;CODE&gt;"INSERT INTO [Sheet1$B2:E] VALUES('" &amp;amp; [Orders.B] &amp;amp; "','" &amp;amp; [Orders.C] &amp;amp; "','" &amp;amp; [Orders.D] &amp;amp; "','" &amp;amp; [Orders.E] &amp;amp; "')"&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Also, keep in mind while using this query you need to loop within the Orders collection and with the loop use this query. The mistake a lot of people do here is that they sometimes even add the Open and Close action within the loop stage. Please avoid that so that you don't face unexpected errors while executing this action.&lt;BR /&gt;&lt;BR /&gt;I have attached a sample workflow for your reference:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24640.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24773i0049A1FC15D75A44/image-size/large?v=v2&amp;amp;px=999" role="button" title="24640.png" alt="24640.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Result after execution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24641.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24774i989269085A4DEB90/image-size/large?v=v2&amp;amp;px=999" role="button" title="24641.png" alt="24641.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 07:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94510#M43919</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-01T07:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94511#M43920</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Exists a quick form to do this.&lt;BR /&gt;&lt;BR /&gt;If you want to copy all form Sheet1 to Sheet2 use the "INSERT INTO SELECT" statement. You can also filter it.&lt;BR /&gt;&lt;BR /&gt;Here is the syntax:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;INSERT INTO [Sheet1$] (A, B, C, D, E) SELECT A,B,C,D,E FROM [Output] WHERE INPUT = '@'&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Only need to modify the column names&lt;BR /&gt;&lt;BR /&gt;Try it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;634726270&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 09:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94511#M43920</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-02-01T09:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94512#M43921</link>
      <description>Dear Pable,&lt;BR /&gt;&lt;BR /&gt;Thank You so much for your answer.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 10:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94512#M43921</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T10:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94513#M43922</link>
      <description>Dear Devneet,&lt;BR /&gt;&lt;BR /&gt;Thank You so much for your answer. I had one more question. If I want to select only coulmn names from sheet name can I write below.&lt;BR /&gt;&lt;BR /&gt;"SELECT [RequestNo ,[OrderNo, [Parts Name] FROM [Sheet1]" where RequestNo, Order No, Parts Name are column names and Sheet1 is sheet name. Can I use Get Collection to select the columns.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 10:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94513#M43922</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T10:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94514#M43923</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;Glad your issue got resolved. Definitely that will also work for you, the query will be like: &lt;CODE&gt;"SELECT [RequestNo] ,[OrderNo], [Parts Name] FROM [Sheet1$]"&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Just remember the above query always will work whenever you data is starting from the beginning of the sheet, that is "A1" cell. In case your headers, fall somewhere at the middle, the you need to modify the From part of the query. &lt;BR /&gt;&lt;BR /&gt;Let us suppose if the headers go from B2 till E then the query would have been modified as:&lt;CODE&gt; "SELECT [RequestNo] ,[OrderNo], [Parts Name] FROM [Sheet1$B2:E]"&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;Similarly, if you want to put a filter as well while selecting the columns you can do by using a WHERE clause, then your query gets modified like this:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;"SELECT [RequestNo] ,[OrderNo], [Parts Name] FROM [Sheet1$] WHERE [INPUT] = '@'"&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Considering that INPUT is the name of the column where this value '@' resides.&lt;BR /&gt;&lt;BR /&gt;Hope that helps to clear your doubts &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 10:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94514#M43923</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-01T10:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94515#M43924</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;When I tried using that I am getting following error.&lt;BR /&gt;&lt;BR /&gt;Internal : Could not execute code stage because exception thrown by code stage: No value given for one or more required parameters.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24656.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24786i1A55C47538A72C26/image-size/large?v=v2&amp;amp;px=999" role="button" title="24656.png" alt="24656.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24657.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24789i0A449F3143B6A832/image-size/large?v=v2&amp;amp;px=999" role="button" title="24657.png" alt="24657.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24658.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24793i086C70C54BE19937/image-size/large?v=v2&amp;amp;px=999" role="button" title="24658.png" alt="24658.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 11:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94515#M43924</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T11:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94516#M43925</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;The first row is blank in your sheet and the headers are starting from A2 cell, can you update the Sheet name parameter in your query as: [Sheet1$A2:&amp;lt;Last Column of your Table&amp;gt;]&lt;BR /&gt;&lt;BR /&gt;In the screenshot I can't see which column it is, if it is J then provide [Sheet1$A2:J]&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 12:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94516#M43925</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-01T12:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94517#M43926</link>
      <description>Hi Devneet,&lt;BR /&gt;I have selected below three columns only because I wanted only three columns A, B,C . Can I just select only three columns instead of entire columns.&lt;BR /&gt;&lt;BR /&gt;"SELECT [sikeisho担当] ,[依頼NO], [試計書番号] FROM &lt;BR /&gt;[Sheet2$A2:C]"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24670.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24804i3C3E8421678BED19/image-size/large?v=v2&amp;amp;px=999" role="button" title="24670.png" alt="24670.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 12:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94517#M43926</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T12:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94518#M43927</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;If they are continuous columns and they fall within the range from column A to column C then yes you can use the query. Let me try to explain you this way, suppose you need column A, B, E and J then in that case your query will be SELECT [A], &lt;B&gt;, [E] and [J] FROM [Sheet1$A:J]. So essentially, your sheet range should comprise the starting column and the ending column range whereas in the SELECT part you only provide the columns that you want to select.&lt;BR /&gt;&lt;BR /&gt;Hope that clears your doubt.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/B&gt;</description>
      <pubDate>Tue, 01 Feb 2022 12:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94518#M43927</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-01T12:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94519#M43928</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;Thank You for the explanation. In this case I only want column A,B, C hence i have used "SELECT [sikeisho担当] ,[依頼NO], [試計書番号] FROM &lt;BR /&gt;[Sheet2$A2:C]"&lt;BR /&gt;&lt;BR /&gt;where sikeisho担当=column A&lt;BR /&gt;依頼NO=Column B&lt;BR /&gt;試計書番号= Column and my first column header starts from A2 but i am getting error&amp;nbsp; &amp;nbsp;below&lt;BR /&gt;&lt;BR /&gt;Internal : Could not execute code stage because exception thrown by code stage: No value given for one or more required parameters. I have correctly given three column names still getting error&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 13:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94519#M43928</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-01T13:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94520#M43929</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;Upon executing the same query on my excel I am getting the result for the query: "&lt;CODE&gt;SELECT [sikeisho担当] ,[依頼NO], [試計書番号] FROM [Sheet1$A2:C]&lt;/CODE&gt;" as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24699.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24836i2DD521C9D48C7681/image-size/large?v=v2&amp;amp;px=999" role="button" title="24699.png" alt="24699.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I would suggest you to carefully check each parameter of you query including Sheet Name, Column ranges and column names. Something is definitely not correct that is why you are getting this error.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Feb 2022 23:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94520#M43929</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-01T23:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94521#M43930</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;some format error was in excel. Now I got the output .Thank You so much.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 04:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94521#M43930</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-02T04:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94522#M43931</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;Regarding INSERT statement I wanted to ask what if my &lt;SPAN&gt;INSERT INTO [Sheet1$B2:E] B2 is variable . I mean the row is not starting from B2 as already there is data and the bot has to fill from the next empty row. I already got the next empty row and stored in variable.Suppose the variable value is B2740&amp;nbsp; and is stored in CellRowAcolumn. How to write the INSERT INTO statement with variable row count when everytime the bot first runs and finds the empty B row and then inserts the data into Excel sheet. Kindly help on this part&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24719.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24851i8DA0DA8F0499FA70/image-size/large?v=v2&amp;amp;px=999" role="button" title="24719.png" alt="24719.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 08:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94522#M43931</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-02T08:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94523#M43932</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In the INSERT INTO statement you can only put the column name and the values. When you referrer the table name (the sheet name) you can put of course where start the table (In your case is correct), but the column names must to be equals to your Excel.&lt;BR /&gt;&lt;BR /&gt;And by default, the INSERT put the lines at the end of the table.&lt;BR /&gt;&lt;BR /&gt;To understanding this well, Can you have more rows under the first row with your B column empty? Or, the first B column that you find is also the last line?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;634726270&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 09:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94523#M43932</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-02-02T09:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94524#M43933</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;When you define the range B2, it means that where the headers are actually starting from. The only thing to keep in mind is that the headers should be continuous not discontinued. If you know the start of your range, INSERT query will automatically add the row elements in the next available empty row, you do not need to worry about that.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 11:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94524#M43933</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-02T11:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94525#M43934</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;Insert statement is inserting the data but the problem is it should insert from next empty row but it is leaving some blank rows and then inserting data.Something like this&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24738.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24869i3BE975A534B96E45/image-size/large?v=v2&amp;amp;px=999" role="button" title="24738.png" alt="24738.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 12:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94525#M43934</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-02T12:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94526#M43935</link>
      <description>Understood. Thank You PABLO For the explanation.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 12:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94526#M43935</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-02T12:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94527#M43936</link>
      <description>Hi Marina,&lt;BR /&gt;&lt;BR /&gt;This issue usually comes where there are certain rows with null values and excel does not actually treats them as a blank value. The thing here you can do is probably to first delete all the rows manually below the headers by selecting all rows and then pressing 'Ctrl' + '-' key. This should trim all the rows in your excel file properly. Then try using your automation solution on top of it.&lt;BR /&gt;&lt;BR /&gt;Let use know if the rows are being filled properly once you delete all rows manually or not.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 12:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94527#M43936</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-02-02T12:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB INSERT Statement</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94528#M43937</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;The data got pasted after removing the NULL rows. Thank You very much for your guidance. One question , the INSERT and SELECT statement works only for continuous&amp;nbsp; &amp;nbsp;columns ? What if I want columns A,B,C,D and column J,K,N. Will it work in that time also?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marina Dutta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 13:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-INSERT-Statement/m-p/94528#M43937</guid>
      <dc:creator>MarinaDutta</dc:creator>
      <dc:date>2022-02-02T13:45:00Z</dc:date>
    </item>
  </channel>
</rss>

