Skip to main content
Participating Frequently
October 29, 2015
Question

set the same width of a column if you have specific word

  • October 29, 2015
  • 1 reply
  • 239 views

Hi Everyone!

I have a large document with a lot of tables and I need to change the width of some columns will be always the same.

I need that all the columns where the word of the first cell is "PRICE" have allways width of 17mm, but without changing the total width of the table...

Can anybody helps me?

A few time ago I ask for a similar problem, but there don't have to change the width and can't solve this.

https://forums.adobe.com/thread/1843843

This is the discusion about this.

Can anybody help me?

Thanks in advance!

This topic has been closed for replies.

1 reply

Jump_Over
Legend
October 29, 2015

Hi,

At which point did you face with a problem while creating this code?

Jarek

redobsAuthor
Participating Frequently
October 29, 2015

Setting the width of the column without changing the width of the table

Jump_Over
Legend
October 29, 2015

Hi,

If you detect a proper column - read its width and calculate a difference from "17 mm"

so yourTable.width += theDifference and

your Column.width -= theDifference

Jarek