SetOption method of Application object

K

Ken

Hi,

I'm trying to use Application.SetOption to
disable "Windows in Taskbar" (on the View page). I'm
using the argument "Use Taskbar For Each Document" as
described in the Help file, but I keep getting the
following error:

Run-time error 2091

'Use Taskbar For Each Document' is an invalid name.

I've also tried the arguments "Windows In Taskbar"
and "Show Windows In Taskbar", but I get the same results.

Could someone please give me the correct argument to do
this?

Thanks,

Ken
 
W

Wayne Morgan

Application.SetOption "ShowWindowsInTaskbar", False

Note the lack of spaces in the argument.
 
Top