Helmut
Tue May 10 06:56:36 CDT 2005
Hi jb,
hm..., to tell the truth, I can only guess,
that mingling with data types and format may be the reason.
PointsoCentimeters excepts a single, and you pass a string,
triggering an implicit type conversion which behaves differently,
according to local settings.
Also, remove leader and alignment for testing purposes.
It makes the code very hard to read.
Furthermore,
> If Right(aStyArrParaTabPos(y, i), 2) = "00" Then
> aStyArrParaTabPos(y, i) = Format(aStyArrParaTabPos(y, i), "0")
> End If
appears twice in your code. At the second time,
it wouldn't do anything, as far as I see.
Certainly no solution, but might at least help debugging.
Maybe somebody else knows better, sorry.
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org