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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top