Thanks rlx this one sort of works for me. It only works if you have minimised the window.
(vla-put-windowstate excelApp acMax)
Also running dual screens.
Need a Powershell script. ie winodws OS level.
Ok found something now have to remember how to incorporate into a Powershell script and run from CAD, have done it before.
$wshell = New-Object -ComObject wscript.shell
$wshell.AppActivate('Excel')
If you want to try, go bottom right in windows type cmd then powershell paste the 2 lines. Have an Excel open.