Description: i am trying to run an excel file with macros and one of them has a line containing pivotcaches which libreoffice is saying is 423. Steps to Reproduce: 1. open this file. enable macros. 2.click on instructions tab 3. click on summary button on right side Actual Results: 423 error Expected Results: macro should run Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.4.2 / LibreOffice Community Build ID: a529a4fab45b75fefc5b6226684193eb000654f6 CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: en-IN (en_IN); UI: en-US Flatpak Calc: threaded
Created attachment 173349 [details] screenshot of error
ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _ "Reco!R2C1:R99948C17", Version:=xlPivotTableVersion12).CreatePivotTable _ TableDestination:="Pivot!R2C2", TableName:="PivotTable1", DefaultVersion _ :=xlPivotTableVersion12
Created attachment 173350 [details] file which throws pivot table errors
this file contains more code which throws errors so i am going to club them together otherwise i have to write the same error, upload same file multiple times. let me know if i am supposed to upload new bugs for each error separately second bug is ShowPivotTableFieldList- Basic runtine error 423 here is the code which throws basic error. ```` ActiveWorkbook.ShowPivotTableFieldList = True ```` it looks like this function isnt enabled or something. attached screenshot of the error as well ---- third bug is "basic runtime error 1 no such elementexception the offending code is ````ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables ```` and this code ````ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables( _ ```` and this code ```` ActiveSheet.PivotTables("PivotTable1").TableStyle2 = "PivotStyleDark4" ```` and this one ```` .ThemeColor = xlThemeColorDark1 ````
and more errors .TintAndShade = 0 i work on this file by clicking on summary button, waiting for the error to pop up and deleting that line and running the macro again.
It's looking for an external .xls file that you did not provide, but I do get the error. Btw. you don't have to keep uploading the same file when creating new reports. You can reference it by saying: open attachment 173350 [details] We have a policy of one issue per report. NixOS Version: 7.1.4.2 / LibreOffice Community Build ID: 10(Build:2) CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded
(In reply to Buovjaga from comment #6) > It's looking for an external .xls file that you did not provide, but I do > get the error. > > Btw. you don't have to keep uploading the same file when creating new > reports. You can reference it by saying: open attachment 173350 [details] > > We have a policy of one issue per report. > > NixOS > Version: 7.1.4.2 / LibreOffice Community > Build ID: 10(Build:2) > CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3 > Locale: fi-FI (fi_FI.UTF-8); UI: en-US > Calc: threaded i do not have any other external file. the file is supposed to be self contained.it should show the bugs as you say you have seen
Dear johnks, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
i am on the latest software and 2 bugs are still present 423 on both pivotcaches and showpivottablefieldlist and the following lines as well ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables( _ got to the third bug by deleting the offending lines from the vba code and trying to run the macro again and again. With ActiveSheet.PivotTables("PivotTable2").PivotFields("Remarks") .Orientation = xlRowField .Position = 1 End With with the offending line .Orientation = xlRowField ..... also the following error lines Selection.Style = "Comma" ActiveSheet.PivotTables("PivotTable1").TableStyle2 = "PivotStyleDark4" ActiveSheet.PivotTables("PivotTable2").PivotSelect _ .ThemeColor = xlThemeColorDark1 .TintAndShade = 0 and some more but yeah, the problem still exists Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: en-IN (en_IN); UI: en-US Flatpak Calc: threaded
Still present: Version: 24.8.2.1 (AARCH64) / LibreOffice Community Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13 CPU threads: 8; OS: macOS 15.0.1; UI render: Skia/Metal; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded