The code I had is similar to @Luisfmts 's code but doesn't attempt to compare only lowercase version of color scheme name. If neither of those two named color schemes was active, it uses the Else portion to set a default. I was going between two different schemes before, so I changed the names here.
Dim oCSchemes As ColorSchemes = ThisApplication.ColorSchemes
If ThisApplication.ActiveColorScheme Is oCSchemes("Millennium") Then
oCSchemes("Presentation").Activate
ElseIf ThisApplication.ActiveColorScheme Is oCSchemes("Presentation") Then
oCSchemes("Millennium").Activate
Else 'set the default, for when neither color scheme was active
oCSchemes("Millennium").Activate
End If
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡or you can Explore My CONTRIBUTIONS
Wesley Crihfield

(Not an Autodesk Employee)