MS Word, is VBA possible to make text Transparent Or fill nothing.

경태 양 1 Reputation point
2022-07-24T06:28:56.653+00:00

I want to make TEXT to get transparent.

Cus when i highlight white text which was invisible, the highlighted text remain white.

![224122-image.png]1

So, is it possible to make text invisible by filling nothing or transparent in MACRO, VBA

Microsoft 365 and Office | Word | For business | Windows
Developer technologies | Visual Basic for Applications
{count} votes

2 answers

Sort by: Most helpful
  1. John Korchok 6,126 Reputation points
    2022-07-24T16:43:30.443+00:00

    Microsoft assumes that if you highlight text, it's because you want to see it. The usual solution is to mark the text as hidden. Here's an example using text that has been bookmarked:

    ActiveDocument.Bookmarks(BookmarkName").Range.Font.Hidden = True

    2 people found this answer helpful.
    0 comments No comments

  2. 양경태 1 Reputation point
    2022-10-20T23:48:54.75+00:00

    i solved this myself. It's possible by vba "Selection.Font.Fill.Transparency = 1".

    But by 22.10.20, suddenly this macro doesn't work and all word program is shutted down.
    What can i do..


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.