D
Dave
When I create a MacroButton manually, I can format borders and
shading, then apply them to the text which makes the borders and
shading just surround the text.
When I record a macro which creates a MacroButton, I do not have the
option of applying borders and shading to text, only to paragraph.
Applying to the paragraph makes the shaded area go from margin to
margin. This can be confusing to the user as the macrobutton only
works when they double-click on the text.
What is the code I need to put in my macro to apply the borders and
shading to the text? I suspect it's a variation on "With
Selection.ParagraphFormat" but I can't find the correct option.
thanks in advance,
dave
shading, then apply them to the text which makes the borders and
shading just surround the text.
When I record a macro which creates a MacroButton, I do not have the
option of applying borders and shading to text, only to paragraph.
Applying to the paragraph makes the shaded area go from margin to
margin. This can be confusing to the user as the macrobutton only
works when they double-click on the text.
What is the code I need to put in my macro to apply the borders and
shading to the text? I suspect it's a variation on "With
Selection.ParagraphFormat" but I can't find the correct option.
thanks in advance,
dave