<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 - Make .uno:GoToCell respect selection mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123496">123496</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Make .uno:GoToCell respect selection mode
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>sdk
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>todventtu@suomi24.fi
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>109139
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Would be nice, if .uno:GoToCell behaved like moving with arrow keys in Extended
or Adding selection modes.
In Extended, it would extend the selection.
In Adding, it would not lose the existing selection (and only move the focus
rectangle to the target cell).

With this functionality, a perfect workaround macro for <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Keyboard-alternative to selecting various dispersed cells in Calc"
   href="show_bug.cgi?id=123490">bug 123490</a> could be
created.

Example of a simple GoToCell macro:

sub GoingToCell
dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "ToPoint"
args1(0).Value = "$F$17"
dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, args1())
end sub</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Cell selection bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=109139">Bug 109139</a>] [META] Cell selection bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

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

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