Ask Your Question
1

Auto size column width on protected worksheet

asked 2012-05-24 18:17:37 +0200

anonymous user

Anonymous

updated 2013-01-27 21:06:24 +0200

anonymous user

Anonymous

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?

delete close flag offensive retag edit

Comments

Hi @Anonymous -- Have you found an answer for your question? Still looking for an answer?

Thanks!

qubit ( 2013-03-12 02:42:25 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2013-03-17 05:56:30 +0200

rmfaile gravatar image rmfaile flag of United States
821 16 16

updated 2013-03-17 05:58:47 +0200

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.

link delete flag offensive edit

Login/Signup to Answer

Donate

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!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-05-24 18:17:37 +0200

Seen: 209 times

Last updated: Mar 17