
Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Hi Helmut,
you wrote:
> and what is it, that goes wrong?
Well... this works as expected:
Form.Range.Font.Position = iVar
This, on the other hand, does absolutely nothing, not even an error
message:
WordBasic.FormatFont Position:=iVar
And so I would appreciate if soemone could tell me the necessary
parameters , if any.
> First, split returns a zero based array.
I know... but the text file is just a simple list of numerical values
which give the desired position for the corresponding Inlineshapes,
e.g.
-9.5
-5.0
-7.0
and so on. It seemed simpler than ReDim :-)
> Second, when passing a single to .Font.Position
> having read the value form a text file
> with possibly regional standards of spelling,
> 2,5 vs 2.5, as "Feld1" looks very much much like german to me,
> you may encounter more problems.
All the text files are formatted the same way, so I'm not really
worried about exceptions; but I am worried that I can't assign precise
values to the different Inlineshapes. Always rounding pt-values is a
bit of a bother...
I know this is a somewhat esoteric problem, but maybe there's a
solution out there... one that I can understand :-)
All the best
David