View Single Post
 
Old 09-05-2022, 10:18 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Default Oh OK, Thanks so much for the info.....

Quote:
Originally Posted by Guessed View Post
wdLineWidth050pt has a value of 4
wdLineWidth150pt has a value of 12

So it appears you can't type in a value in points and expect Word to be able to assign that correctly to the LineWidth property. The only acceptable choices in that series of constants are:
2, 4, 6, 8, 12, 18, 24, 36, 48

You can review these constant values by using the VBA editor and going to View>Object Browser and searching for wdLineWidth which is the common prefix for all the possible relevant constants.
So it is doable eventually, right?
But I did also added a Dim pt As Points and when I've entered a value as a Point system, I've put 1,50pt, but still got 0.75".

But thanks

Cendrinne
Reply With Quote