Need to edge out the competition for your dream job? Train for certifications today.
Dim sumwidth As Single
Dim TheWidth As Single
Dim vcol As Column
TheWidth = .PageWidth - .LeftMargin - .RightMargin
sumwidth = 0
For Each vcol In ActiveDocument.Tables(1).Columns
sumwidth = sumwidth + vcol.Width
Debug.Print "Width ="; sumwidth; "points"; ", (" & Format(sumwidth / TheWidth, "#0.00%"); ")"
Open in new window
for each vCol in ActiveDocument.Tables(1).columns
sumwidth=sumwidth + vcol.width
This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.