View Single Post
 
Old 08-15-2023, 12:45 AM
vivka vivka is offline Windows 7 64bit Office 2016
Expert
 
Join Date: Jul 2023
Posts: 293
vivka is on a distinguished road
Default

Hello, darkmaster006! My limited knowledge of VBA says that your code is doing exactly what is expected:
selection.WholeStory
selection.Shading.BackgroundPatternColor = wdColorAutomatic

Maybe, this forum's gurus will have different opinions.
Reply With Quote