Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Programmatically Docking Toolbars

Is it possible to define where a toolbar is docked in a Excel window? I have
a custom defined toolbar that holds icons for a number of functions in my
system. I would like to have to toolbar appear docked at the bottom of the
screen just above the start menu. Is that at all possible in VBA?

I can see the toolbar's OLE_Handle; is this something that needs to be done
using the Windows API?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Programmatically Docking Toolbars

commandbars("Custom 2").Visible = True
commandbars("Custom 2").Position = msoBarBottom


--
Regards,
Tom Ogilvy

"Robert Mulroney" '''' wrote in message
...
Is it possible to define where a toolbar is docked in a Excel window? I

have
a custom defined toolbar that holds icons for a number of functions in my
system. I would like to have to toolbar appear docked at the bottom of the
screen just above the start menu. Is that at all possible in VBA?

I can see the toolbar's OLE_Handle; is this something that needs to be

done
using the Windows API?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 71
Default Programmatically Docking Toolbars



Cheers Tom. You always have the answers I need.

- Rm

"Tom Ogilvy" wrote:

commandbars("Custom 2").Visible = True
commandbars("Custom 2").Position = msoBarBottom


--
Regards,
Tom Ogilvy

"Robert Mulroney" '''' wrote in message
...
Is it possible to define where a toolbar is docked in a Excel window? I

have
a custom defined toolbar that holds icons for a number of functions in my
system. I would like to have to toolbar appear docked at the bottom of the
screen just above the start menu. Is that at all possible in VBA?

I can see the toolbar's OLE_Handle; is this something that needs to be

done
using the Windows API?




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
Toolbar Re-Docking Robert11 New Users to Excel 1 February 2nd 07 03:28 PM
Programmatically Disabling Excel Toolbars for one session only? BW Excel Programming 3 September 2nd 05 03:18 PM
Docking windows in the IDE Nathan Excel Programming 2 July 12th 04 03:46 PM
VBA - Immediate Window not docking Richard Buttrey[_5_] Excel Programming 1 February 4th 04 10:51 PM
Creating/Destroying Toolbars Programmatically Syed Zeeshan Haider[_5_] Excel Programming 2 January 27th 04 05:32 AM


All times are GMT +1. The time now is 12:59 PM.

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

About Us

"It's about Microsoft Excel"