<?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 Format cell excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Format-cell-excel/m-p/86418#M37275</link>
    <description>Hi! ,

I would like&amp;nbsp;to know how to change the format of Excel to center the text. I execute the following code, but&amp;nbsp;the last part of the code doesnt work.
Could someone help me?

Code:

-------------------------------------------------------------------------------------------

Dim WB As Object

WB = GetWorkbook (Handle, Workbook). Application. Selection

With WB. Font
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . Name =&amp;nbsp; "Calibri "
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . Size = 11
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp; End With

Wb. HorizontalAlignment. Center

-------------------------------------------------------------------------------------------

&amp;nbsp;

&amp;nbsp;

Thanks so much.</description>
    <pubDate>Thu, 01 Mar 2018 18:44:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-01T18:44:00Z</dc:date>
    <item>
      <title>Format cell excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Format-cell-excel/m-p/86418#M37275</link>
      <description>Hi! ,

I would like&amp;nbsp;to know how to change the format of Excel to center the text. I execute the following code, but&amp;nbsp;the last part of the code doesnt work.
Could someone help me?

Code:

-------------------------------------------------------------------------------------------

Dim WB As Object

WB = GetWorkbook (Handle, Workbook). Application. Selection

With WB. Font
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . Name =&amp;nbsp; "Calibri "
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . Size = 11
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp; End With

Wb. HorizontalAlignment. Center

-------------------------------------------------------------------------------------------

&amp;nbsp;

&amp;nbsp;

Thanks so much.</description>
      <pubDate>Thu, 01 Mar 2018 18:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Format-cell-excel/m-p/86418#M37275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-01T18:44:00Z</dc:date>
    </item>
  </channel>
</rss>

