View Single Post
 
Old 09-13-2023, 12:53 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Perhaps this is being over-thought. This works if you have selected a text box inside a Canvas
Code:
Sub Macro1()
  If Selection.ShapeRange.Count > 0 Then
    Selection.WholeStory   'needed if selection is inside textbox rather than being the textbox
    Selection.Font.ColorIndex = wdRed
  End If
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote