![]() |
|
|
Thread Tools | Display Modes |
#2
|
|||
|
|||
![]()
This sort of thing maybe - you should add some error checking.
Code:
Sub trans_text() Dim oshp As Shape Dim otxr2 As TextRange2 Dim L As Long Set oshp = ActiveWindow.Selection.ShapeRange(1) If oshp.HasTextFrame Then Set otxr2 = oshp.TextFrame2.TextRange For L = 1 To otxr2.Characters.Count otxr2.Characters(L).Font.Fill.Transparency = Rnd * 1 Next L End If End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change background of selected text | ultrarunner2020 | Word | 5 | 03-10-2023 02:59 PM |
Powerpoint-2019 Text in selected theme remains in All Caps even when small caps option is selected | Tanasha4 | PowerPoint | 2 | 04-06-2019 07:53 PM |
How to change color indicating selected text | daylee | Word | 1 | 03-27-2019 01:31 PM |
Please help. I want to change the text of a cell when another is selected | frankzelnik | Excel | 5 | 06-19-2018 01:34 PM |
![]() |
Richtriebe | Word | 4 | 03-14-2016 11:57 AM |