Re: How to find programmatically Word table row height?
From: Erez Harari (ErezHarari_at_discussions.microsoft.com)
Date: 01/20/05
- Next message: Tony: "Option box macro needed please!"
- Previous message: GW: "Creating Visio Timeline Shapes and setting dates"
- In reply to: Helmut Weber: "Re: How to find programmatically Word table row height?"
- Next in thread: Cindy M -WordMVP-: "Re: How to find programmatically Word table row height?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 22:09:01 -0800
Helmut Weber,
Hi,
The problem is that the Height property of the table rows returns always the
same incorrect value (whatever units it means), I know that the values is
incorrect, because some rows are about 1 centimeter and other rows are about
20 centimeters height. Each row consists on same number of cells of the same
height and the Height property of the cells returns the same wrong value
(9999999 or 12) as the row's Height property.
I don't have to change the row's height. I only have to find what it is.
Erez Harari
"Helmut Weber" wrote:
> Hi Erez,
>
> mostly, if not always, Word's answer to a question is "9999999",
> if there would be more than one answer,
> or if the answer would be "undefined".
>
> Not perfectly suitably here, though, as at the moment
> of asking, if the cells don't have different height,
> there would be a unique answer.
>
> What values do you get?
>
> Here and now, if I set the height of a row to 12 pt,
> MsgBox ...Height returns 12.
>
> If you set the height in inches or centimeters,
> there may be problems concerning fractions.
>
> Greetings from Bavaria, Germany
>
> Helmut Weber, MVP
> "red.sys" & chr(64) & "t-online.de"
> Word XP, Win 98
> http://word.mvps.org/
>
- Next message: Tony: "Option box macro needed please!"
- Previous message: GW: "Creating Visio Timeline Shapes and setting dates"
- In reply to: Helmut Weber: "Re: How to find programmatically Word table row height?"
- Next in thread: Cindy M -WordMVP-: "Re: How to find programmatically Word table row height?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|