https://bugs.documentfoundation.org/show_bug.cgi?id=149236

Kamil Landa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Kamil Landa <[email protected]> ---
Confirmed in Version: 7.3.3.1 (x64) / LibreOffice Community
Build ID: 1688991ca59a3ca1c74bc2176b274fba1b034928
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL

Another interesting fact is, if new sheet (Concentrateur) is created before the
sheet 'test', then it is functional. 

Sub Main
dim const nomFeuilleDest = "test"
dim const nomFeuilleModeleSequence = "Modèle Séquence"
dim const nomFeuilleConcentrateur = "Concentrateur"

        with thisComponent

                if not .sheets.hasByName(nomFeuilleConcentrateur) then
.sheets.insertNewByName(nomFeuilleConcentrateur, 2) 'create the Concentrateur
sheet firstly

                if .sheets.hasByName( nomFeuilleDest) then
.sheets.removeByName( nomFeuilleDest)
                .sheets.copyByName( nomFeuilleModeleSequence, nomFeuilleDest,
.sheets.Count)

        end with

        msgbox "Done !"

End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to