#1
|
|||
|
|||
Changing the size of individual cell
Hi there, I cannot solve an obvious problem for some strange reason. I want to change the size of the individual cell in a table, however, at the same time I am also changing the size of the table itself. Adjacent column just shifts correspondingly. How to make adjacent column to increase/decrease its size proportionally to keep the overall table size constant? The code I am using is shown below:
With tbl .AutoFitBehavior wdAutoFitFixed .Borders.InsideColor = wdColorGray25 .Borders.OutsideColor = wdColorGray25 .Cell(1, 1).Width = CentimetersToPoints(1.5) End With I include some pictures for visualization. Many thanks. |
#2
|
||||
|
||||
The code is changing the width of the cell but, unless you change the width of the adjoining cell also, the row width changes.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
cell formatting |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copying a Changing cell value to one cell | mbesspiata | Excel | 1 | 04-29-2014 02:16 PM |
changing font size conditionally | newton.rogers | Excel | 1 | 03-18-2014 12:57 PM |
changing size and position of presentation | yoel | PowerPoint | 2 | 01-08-2013 02:18 PM |
changing font size without changing leading | carolns | Word | 1 | 09-14-2009 12:30 PM |
Changing size of footer | izzyf | Word | 2 | 03-23-2009 12:19 PM |