S
slideTFN
I need to create a macro to find and replace the single characters Ú,
Æ and ¿ with the fractions 1/4, 1/2 and 3/4, with the numerators and
the slash character superscripted and the denominator subscripted. I
found a helpful thread from 2 years ago on how to use the Format menu
and Font to apply superscript and subscript. This works on a one-off
basis, but when I record the necessary steps as a macro and try to run
it, I get a run-time error message:
"Run-time error '5843' one of the values passed to this method or
property is out of range"
The debuggers points to the following as the out of range values:
With Selection.Font
.Name = "Times New Roman"
.Size = 0 (problem with this line)
(snip)
.Spacing = 0
.Scaling = 0 (problem with this line)
I have no idea what the values should be or how I set them, and
furthermore I want this macro to work regardless of the font size of
the document I'm using it in. What should I do? Thanks in advance for
any suggestions.
Æ and ¿ with the fractions 1/4, 1/2 and 3/4, with the numerators and
the slash character superscripted and the denominator subscripted. I
found a helpful thread from 2 years ago on how to use the Format menu
and Font to apply superscript and subscript. This works on a one-off
basis, but when I record the necessary steps as a macro and try to run
it, I get a run-time error message:
"Run-time error '5843' one of the values passed to this method or
property is out of range"
The debuggers points to the following as the out of range values:
With Selection.Font
.Name = "Times New Roman"
.Size = 0 (problem with this line)
(snip)
.Spacing = 0
.Scaling = 0 (problem with this line)
I have no idea what the values should be or how I set them, and
furthermore I want this macro to work regardless of the font size of
the document I'm using it in. What should I do? Thanks in advance for
any suggestions.