View Single Post
 
Old 11-25-2014, 04:08 AM
_mike1 _mike1 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Nov 2014
Posts: 1
_mike1 is on a distinguished road
Question 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.
Attached Images
File Type: jpg before.JPG (11.7 KB, 15 views)
File Type: jpg after.JPG (11.5 KB, 15 views)
Reply With Quote