At the end of an excel vba program I select all the columns being used and set the columns to autofit with the following code:
That however leaves the columns highlighted. I tried
but it didn't have any effect. If I use
two columns off the screen are highlighted which clears the main area but still leaves another area highlighted. What I want is to select cell "A1" which when I do it manually clears any highlighting. Is there any way to do this via vba?