#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Toolbars


Hello

Hopefully someone can help me out with this problem.

I have created a custom toolbar to open when the spreadsheet is opene
but It always opens over the spreadsheet (floating) rather then bein
anchored where the standard toolbars are.

Is there a simple peice of VBA code to tell it where to anchor itsel
once open?

--
Wheel
-----------------------------------------------------------------------
Wheels's Profile: http://www.excelforum.com/member.php...fo&userid=2711
View this thread: http://www.excelforum.com/showthread.php?threadid=46625

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Toolbars

One way:

Commandbars("MyBar").Position = msoBarTop

You might also want to look at the Commandbar object's .RowIndex
property.

In article ,
Wheels wrote:

Hello

Hopefully someone can help me out with this problem.

I have created a custom toolbar to open when the spreadsheet is opened
but It always opens over the spreadsheet (floating) rather then being
anchored where the standard toolbars are.

Is there a simple peice of VBA code to tell it where to anchor itself
once open??

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

JE, same question but I want to position ("Mybar") on the same row as
the ("Formatting Bar") not in its own seperate row. TIA

Greg

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Toolbars


JE McGimpsey Wrote:
One way:

Commandbars("MyBar").Position = msoBarTop



Thanks for this. :

--
Wheel
-----------------------------------------------------------------------
Wheels's Profile: http://www.excelforum.com/member.php...fo&userid=2711
View this thread: http://www.excelforum.com/showthread.php?threadid=46625

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
Please Help, No Toolbars in my view-toolbars! [email protected] Excel Programming 2 February 19th 05 09:15 PM
Toolbars Michelle Excel Programming 1 August 23rd 04 08:15 PM
Toolbars Inbar Excel Programming 0 August 16th 04 05:51 PM
toolbars Ronbo Excel Programming 0 May 17th 04 08:20 PM
Toolbars Jay[_14_] Excel Programming 1 December 5th 03 09:26 AM


All times are GMT +1. The time now is 04:48 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"