Resizing date cells in a Word calendar

Running Word 2007 on a Windows 7 platform.  I have a Word-based calendar, and need to re-size the dimensions for all dates.  Dragging the vertical edge of a given date will resize other dates in the same column of that month, but not the other months.  Dragging a horizontal edge of a given date will resize other dates in the same row of that month, but not other months.  Is there a way to re-size every day of the year simply?2018.doc
LVL 1
ddantesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GrahamSkanRetiredCommented:
You could run a VBA macro like this. Note that the wanted dimensions have been hard coded. You will need to edit to them to get your choice of values.
Sub Resize()
Dim tbl As Table
Dim rw As Row
Dim cl As Cell

Dim r As Integer
Dim snRowHeight As Single
Dim snColWidth As Single

snRowHeight = CentimetersToPoints(3) 'Centimetres is my default measurement unit
snColWidth = CentimetersToPoints(3) ' but InchesToPoints() is possible
            

For Each tbl In ActiveDocument.Tables
    For r = 1 To tbl.Rows.Count
        If r = 1 Then
            tbl.Rows(r).Cells(1).Width = 7 * snColWidth
        Else
            For Each cl In tbl.Rows(r).Cells
                cl.Width = snColWidth
            Next cl
            If r > 2 Then
                tbl.Rows(r).Height = snRowHeight
            End If
                
        End If
    Next r
Next tbl
End Sub

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ddantesAuthor Commented:
Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.