First time here? Check out the FAQ!
asked 2012-05-24 18:17:37 +0200
I've set up a Calc template with several password protected sheets. Is there a way to (preferably automatically) shrink/grow the column width dependent on the cell contents without turning off the password protection and resizing the columns after the data is entered?
You can create a macro to resize the columns then assign the macro to a certain event like opening or closing a document. Macros are an experimental feature currently and it has to be enabled from Tools > Options. You will also need a Java runtime installed. Once the macro is created, go to Tools > Customize, click the Events tab and choose the event to associate it with. One of the options is to run the macro after the modified status is changed. If you choose that event, it will run it every time a cell is changed. Let us know if this works for you.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-05-24 18:17:37 +0200
Seen: 209 times
Last updated: Mar 17