Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have a shared workbook in Excel 2000 that is automatically turning off
Windows in Taskbar whenver it is opened and I can't see why. Does anyone out there know a macro that will automatically turn on the Windows in Taskbar option in Excel when the workbook is opened? Thanks David Lee |
#2
![]() |
|||
|
|||
![]()
David
Add the following line code to an Auto_Open or Workbook_Open event: Application.ShowWindowsInTaskbar = True *pretty sure that was in Office 2000, I am in 2003 so I wasn't able to check... -- Charles www.officezealot.com "David Lee - NZ" <David Lee - wrote in message ... I have a shared workbook in Excel 2000 that is automatically turning off Windows in Taskbar whenver it is opened and I can't see why. Does anyone out there know a macro that will automatically turn on the Windows in Taskbar option in Excel when the workbook is opened? Thanks David Lee |
#3
![]() |
|||
|
|||
![]()
Is the workbook shared? (A bug in xl2k turns it off for shared workbooks.)
You could create a new workbook saved into XLStart (or put this into your personal.xls workbook) and it'll toggle that option each time you open a workbook. In the ThisWorkbook module: Option Explicit Public WithEvents xlApp As Excel.Application Private Sub Workbook_Open() Set xlApp = Application End Sub Private Sub Workbook_Close() Set xlApp = Nothing End Sub Private Sub xlApp_NewWorkbook(ByVal Wb As Workbook) Application.ShowWindowsInTaskbar = True End Sub Private Sub xlApp_WorkbookOpen(ByVal Wb As Workbook) Application.ShowWindowsInTaskbar = True End Sub If you're new to macros, you may want to read David McRitchie's intro at: http://www.mvps.org/dmcritchie/excel/getstarted.htm David Lee - NZ wrote: I have a shared workbook in Excel 2000 that is automatically turning off Windows in Taskbar whenver it is opened and I can't see why. Does anyone out there know a macro that will automatically turn on the Windows in Taskbar option in Excel when the workbook is opened? Thanks David Lee -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Playing a macro from another workbook | Excel Discussion (Misc queries) | |||
How to turn OFF the TASK PANE? | Setting up and Configuration of Excel | |||
Date macro | Excel Discussion (Misc queries) | |||
Turn off warnings in Macro | Excel Worksheet Functions | |||
Help with macro formula and variable | Excel Worksheet Functions |