Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Customising the Task Pane in Excel Office XP

Hi,

I am trying to customise the Task Pane in excel. I am
aware of the CommandBar object, but the features seem
restricted. I want to know if I can add controls like a
listbox or microsofttab control.Also i would like to know
if the task pane is fully customizable or are there any
restrictions

thanks
Bosco
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Customising the Task Pane in Excel Office XP

It doesn't seem to me that the Task Pane is much like any other command bar.
I think it's classified as a command bar in the Office object model just for
convenience. About the only customizing I've been able to do with it is to
add files to the New Workbook pane via the NewFile object.

Sub AddToTaskPane()
Dim x As NewFile
CommandBars("Task Pane").Visible = False
Set x = Application.NewWorkbook
x.Add "c:\bookNew.xls", msoNew
'Next to refresh, else changes do not appear
CommandBars("Task Pane").Visible = True
End Sub

Sub RemoveFromTaskPane()
Dim x As NewFile
CommandBars("Task Pane").Visible = False
Set x = Application.NewWorkbook
x.Remove "c:\bookNew.xls", msoNew
CommandBars("Task Pane").Visible = True
End Sub

--
Jim Rech
Excel MVP


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you show the task pane in office 2007 Vaughn New Users to Excel 1 January 29th 10 06:25 PM
Task Pane in Excel JSiply Excel Discussion (Misc queries) 0 December 9th 06 11:25 PM
Excel - task pane task pain Excel Discussion (Misc queries) 2 July 31st 06 10:43 PM
Excel Task Pane vosnick Excel Discussion (Misc queries) 2 November 25th 05 03:48 AM
how do i get my task pane up in excel tanya New Users to Excel 1 March 19th 05 04:56 PM


All times are GMT +1. The time now is 01:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"