https://bugs.freedesktop.org/show_bug.cgi?id=71271
Priority: medium
Bug ID: 71271
Assignee: [email protected]
Summary: sheet's CodeName not saved
Severity: major
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: Spreadsheet
Product: LibreOffice
Created attachment 88706
--> https://bugs.freedesktop.org/attachment.cgi?id=88706&action=edit
Example document of not-saved-CodeName value
When sheet's .CodeName value is changed
by basic macro and document is saved and
then reopened, new .CodeName value is lost.
See attached example - using two functions,
first for setting .CodeName before saving the document,
second for displaying it after reopen:
Sub ABCD
Dim MySheet As Object
Set MySheet = ThisComponent.getSheets().getByName("List1")
MsgBox(MySheet.CodeName)
MySheet.CodeName = "NewName"
MsgBox(MySheet.CodeName)
End Sub
Sub EFGH
Dim MySheet As Object
Set MySheet = ThisComponent.getSheets().getByName("List1")
MsgBox(MySheet.CodeName)
End Sub
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs