Hi, I have a Calc sheet that loads from a local text file. All works well, but some of the columns are currency values and I’d like the format to show two decimal places. If I format in advance, this is overwritten when the file loads on opening (which is different from Excel). No worries, I have a macro that applies the desired formatting, but I can’t find the best event to trigger this. I have tried “Document Finished Loading”, “Open Document”, “View Created” but these call get called before the data is loaded. I added a MsgBox at the start of my macro to convince myself that the macro was being called, and that was enough to delay the execution and the formatting applied.
Is there a way of achieving what I desire? And suggestions?
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.4
Calc: threaded