To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47073
                  Issue #:|47073
                  Summary:|Method removeRange doesn't work with NONE
                Component:|api
                  Version:|OOo 2.0 Beta
                 Platform:|PC
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sw
              Reported by:|noelson





------- Additional comments from [EMAIL PROTECTED] Fri Apr  8 18:40:44 -0700 
2005 -------
With OOo 1.9.79 and OOo 1.1.3-ptBR (both under XP) this macro doesn't 
anything, if I set nMode to com.sun.star.sheet.CellDeleteMode.NONE. Others 
values for nMode works.

Sub removeRange
' Interface:
' com.sun.star.sheet.XCellRangeMovement
' method: removeRange
   oDoc = thisComponent
   oSheet = thisComponent.getSheets().getByIndex(0)
   oRange = oSheet.getCellRangeByName("A1:D5")
   vEnd = oRange.getRangeAddress()
   nMode = com.sun.star.sheet.CellDeleteMode.NONE
   ' nMode = com.sun.star.sheet.CellDeleteMode.UP  ' OK
   oSheet.removeRange( vEnd, nMode )
End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to