<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - VBA AutoFilter can't compare strings"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107885">107885</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>VBA AutoFilter can't compare strings
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>szymon.klos@collabora.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=133352" name="attach_133352" title="Document with test macro">attachment 133352</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=133352&action=edit" title="Document with test macro">[details]</a></span>
Document with test macro

1. Open attached document
2. Run macro: VBAProject -> Modules -> Module1 -> AF

Result:
All data rows are hidden

Expected:
Only row containing "A" (row 2) should be hidden

Used method in the macro:
AutoFilter Field:=1, Criteria1:=">A", Operator:=xlFilterValues

AutoFilter can only check if Criteria1 string is "equal to". Comparing with ">"
"<" or "=" should be supported.

Code pointer:
<a href="http://opengrok.libreoffice.org/xref/core/sc/source/ui/vba/vbarange.cxx#4493">http://opengrok.libreoffice.org/xref/core/sc/source/ui/vba/vbarange.cxx#4493</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>