Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default How 2 Fix/Jam a custome ToolBar?

Hi Every1

There is toolbar I have created via an addin, but it keeps on floating
whenever I open excel, creating distraction. Any mode or code piece that can
keep it fixed with others once it has been done so, so as to avoid the same
exercise everytime.

Thanx Guys (Girls as well!)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How 2 Fix/Jam a custome ToolBar?

Look at the .position property for the toolbar.

With cb 'dimmed as an application.commandbar
.Visible = True
.Position = msoBarBottom 'or msoBarTop ...
...

FARAZ QURESHI wrote:

Hi Every1

There is toolbar I have created via an addin, but it keeps on floating
whenever I open excel, creating distraction. Any mode or code piece that can
keep it fixed with others once it has been done so, so as to avoid the same
exercise everytime.

Thanx Guys (Girls as well!)


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 112
Default How 2 Fix/Jam a custome ToolBar?

Hello
Set its position in your code, eg:
Dim MyBar As CommandBar
Set MyBar = Application.CommandBars.Add("Name", msoBarTop, , True)

See help on Add method applying to Commandbars.

HTH
Cordially
Pascal

"FARAZ QURESHI" a écrit dans le
message de news: ...
Hi Every1

There is toolbar I have created via an addin, but it keeps on floating
whenever I open excel, creating distraction. Any mode or code piece that
can
keep it fixed with others once it has been done so, so as to avoid the
same
exercise everytime.

Thanx Guys (Girls as well!)



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
Setting custome RGB properties to specific cells kippers Excel Discussion (Misc queries) 2 May 9th 07 09:07 PM
Custome Number format based on Value Dr. Sachin Wagh Excel Discussion (Misc queries) 2 February 17th 06 11:24 AM
How to deploy custome toolbar/Menu commands in Excel? Hiten Excel Worksheet Functions 3 May 13th 05 07:41 PM
multilanguage custome menu Tony Excel Discussion (Misc queries) 0 May 2nd 05 12:11 AM
Custome Colors? Mark Charts and Charting in Excel 1 January 22nd 05 02:45 AM


All times are GMT +1. The time now is 07:47 PM.

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"