PC Review


Reply
Thread Tools Rate Thread

Custom Toolbar Below Other TBs

 
 
Zone
Guest
Posts: n/a
 
      29th Dec 2006
I have only the Standard Excel toolbar open. I have created a custom
toolbar which is attached to the file. The custom toolbar is loaded when
the file is opened and deleted when the file is closed. Problem is, my
custom toolbar keeps showing up above the Standard toolbar, and I want it to
be below the Standard toolbar. One PC shows it in the correct vertical
position (below the other toolbars at the top of the page), and the other PC
shows it in the wrong vertical position (above the Standard toolbar). Help!
Both are Excel XP. TIA, James


 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      30th Dec 2006
The RowIndex property is what you are looking for...
MyCustomToolbar.RowIndex = Application.CommandBars("Formatting").RowIndex
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware

"Zone"
wrote in message
I have only the Standard Excel toolbar open. I have created a custom
toolbar which is attached to the file. The custom toolbar is loaded when
the file is opened and deleted when the file is closed. Problem is, my
custom toolbar keeps showing up above the Standard toolbar, and I want it to
be below the Standard toolbar. One PC shows it in the correct vertical
position (below the other toolbars at the top of the page), and the other PC
shows it in the wrong vertical position (above the Standard toolbar). Help!
Both are Excel XP. TIA, James


 
Reply With Quote
 
Mike Fogleman
Guest
Posts: n/a
 
      30th Dec 2006
I would think you need to set it's position property. Perhaps using the
index of the commandbars collection. Do a commandbars.count and assign your
TB the next index number. At least it would always be at the end of however
many TBs there are.

Mike F
"Zone" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have only the Standard Excel toolbar open. I have created a custom
>toolbar which is attached to the file. The custom toolbar is loaded when
>the file is opened and deleted when the file is closed. Problem is, my
>custom toolbar keeps showing up above the Standard toolbar, and I want it
>to be below the Standard toolbar. One PC shows it in the correct vertical
>position (below the other toolbars at the top of the page), and the other
>PC shows it in the wrong vertical position (above the Standard toolbar).
>Help! Both are Excel XP. TIA, James
>



 
Reply With Quote
 
Zone
Guest
Posts: n/a
 
      31st Dec 2006
Thank you, Mike and Jim. I'll give that a shot. James
"Mike Fogleman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I would think you need to set it's position property. Perhaps using the
>index of the commandbars collection. Do a commandbars.count and assign your
>TB the next index number. At least it would always be at the end of however
>many TBs there are.
>
> Mike F
> "Zone" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I have only the Standard Excel toolbar open. I have created a custom
>>toolbar which is attached to the file. The custom toolbar is loaded when
>>the file is opened and deleted when the file is closed. Problem is, my
>>custom toolbar keeps showing up above the Standard toolbar, and I want it
>>to be below the Standard toolbar. One PC shows it in the correct vertical
>>position (below the other toolbars at the top of the page), and the other
>>PC shows it in the wrong vertical position (above the Standard toolbar).
>>Help! Both are Excel XP. TIA, James
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding custom buttons to the Standard toolbar versus a custom toolbar cainrandom@gmail.com Microsoft Outlook Program Addins 2 9th Oct 2008 05:13 PM
Saving custom toolbar or toolbar location to specific template Joseph N. Microsoft Word Document Management 0 16th Jan 2007 04:48 AM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Microsoft Excel Programming 2 3rd Mar 2004 03:31 PM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Microsoft Excel Discussion 2 3rd Mar 2004 12:32 AM
Custom toolbar - remove toolbar options? Harmannus Microsoft Access Reports 0 11th Nov 2003 04:12 PM


Features
 

Advertising
 

Newsgroups
 


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