R
Robin Dunford
I am converting an old WordBasic macro (that I didn't
write) to VBA. The idea is to run through a loop, changing
characters raised by between 8 and 0.5 points (step -0.5)
to superscript characters (not raised). I believe it used
to work fine in WordBasic.
However, the property Selection.Find.Font.Position is
apparently a long variable, so if I set the variable to be
e.g. 3.5 it is rounded to 4. But, it is perfectly possible
to set characters to be raised by 3.5 points from the
keyboard (in Format:Font:Character Spacing), and it is
also possible to use Selection.Find.Font.Position = 3.5 in
a macro to find such characters.
Does anyone have any ideas about how to find characters
raised by 7.5, 6.5 etc. points without having to write the
find/replace out each time?
Is this a known bug, or am I missing something?
write) to VBA. The idea is to run through a loop, changing
characters raised by between 8 and 0.5 points (step -0.5)
to superscript characters (not raised). I believe it used
to work fine in WordBasic.
However, the property Selection.Find.Font.Position is
apparently a long variable, so if I set the variable to be
e.g. 3.5 it is rounded to 4. But, it is perfectly possible
to set characters to be raised by 3.5 points from the
keyboard (in Format:Font:Character Spacing), and it is
also possible to use Selection.Find.Font.Position = 3.5 in
a macro to find such characters.
Does anyone have any ideas about how to find characters
raised by 7.5, 6.5 etc. points without having to write the
find/replace out each time?
Is this a known bug, or am I missing something?