Skip to Content
0
Dec 15, 2022 at 08:56 AM

Automate Theme setting by Excel VBA

161 Views

I try to automate the SAP theme setting by using Excel VBA.

My requirement is
“If Selected theme not equal to " Corbu Theme" then change the selected theme to " Corbu

This is the code to load the SAP GUI Options

>>>Shell "C:\Program Files (x86)\SAP\FrontEnd\SAPgui\sapsettingsshow.exe", vbNormalFocus<<<

After this code i don't know the VBA Script of below things.

  • how to check the selected theme is corbu or not
  • how to change it , if it is not Corbu.