<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - The reference via the ADDRESS function should also work with the table number."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132136#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - The reference via the ADDRESS function should also work with the table number."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132136">bug 132136</a>
              from <span class="vcard"><a class="email" href="mailto:dscheikey@gmail.com" title="Jürgen Kirsten <dscheikey@gmail.com>"> <span class="fn">Jürgen Kirsten</span></a>
</span></b>
        <pre>Function Sheetname(Optional No) As String

        On Error GoTo Errorhandler
        IF IsMissing(No) Then 
        Sheetname = ThisComponent.CurrentController.ActiveSheet.name
        Else
        Sheetname = ThisComponent.Sheets(No - 1).name
        End If

Exit Function   
        Errorhandler: 
        Sheetname = Error

End Function</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>