PC Review


Reply
Thread Tools Rate Thread

CUSTOM COMMAND BAR DOES NOT SHOW SOMETIMES-- WHAT COULD BE THE REASON

 
 
CAPTGNVR
Guest
Posts: n/a
 
      16th Feb 2007
DEAR ALL
I have put custom command bar by name 'GNVR_BRIDGE' and have put a vb
to make it visible on opening the workbook.
Application.CommandBars("GNVR_BRIDGE").Visible = True.

Very frequently I have to right click and unselect and again select it
for it to appear.

I drag the the only toolbar menu (standard) which is there out then i
can see my command bar.

How to set this right. yes I delete this custom command bar on
closing the workbook

 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      16th Feb 2007
Try setting the rowindex property or the position property, or both:

With Application.CommandBars("GNVR_BRIDGE")
.Visible = True
.Position = msoBarTop
.RowIndex = Application.CommandBars("Standard").RowIndex + 1
End With

HTH,
Bernie
MS Excel MVP


"CAPTGNVR" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> DEAR ALL
> I have put custom command bar by name 'GNVR_BRIDGE' and have put a vb
> to make it visible on opening the workbook.
> Application.CommandBars("GNVR_BRIDGE").Visible = True.
>
> Very frequently I have to right click and unselect and again select it
> for it to appear.
>
> I drag the the only toolbar menu (standard) which is there out then i
> can see my command bar.
>
> How to set this right. yes I delete this custom command bar on
> closing the workbook
>



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      16th Feb 2007
You can designate where the toolbar is to appear.

See the code for this at Debra Dalgleish's site.

http://www.contextures.on.ca/xlToolbar02.html



Gord Dibben MS Excel MVP




On 16 Feb 2007 09:03:49 -0800, "CAPTGNVR" <(E-Mail Removed)> wrote:

>DEAR ALL
>I have put custom command bar by name 'GNVR_BRIDGE' and have put a vb
>to make it visible on opening the workbook.
>Application.CommandBars("GNVR_BRIDGE").Visible = True.
>
>Very frequently I have to right click and unselect and again select it
>for it to appear.
>
>I drag the the only toolbar menu (standard) which is there out then i
>can see my command bar.
>
>How to set this right. yes I delete this custom command bar on
>closing the workbook


 
Reply With Quote
 
CAPTGNVR
Guest
Posts: n/a
 
      17th Feb 2007
On Feb 17, 2:37 am, "Bernie Deitrick" <deitbe @ consumer dot org>
wrote:
> Try setting the rowindex property or the position property, or both:
>
> With Application.CommandBars("GNVR_BRIDGE")
> .Visible = True
> .Position = msoBarTop
> .RowIndex = Application.CommandBars("Standard").RowIndex + 1
> End With
>
> HTH,
> Bernie
> MS Excel MVP
>
> "CAPTGNVR" <captg...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
>
>
> > DEAR ALL
> > I have put custom command bar by name 'GNVR_BRIDGE' and have put a vb
> > to make it visible on opening the workbook.
> > Application.CommandBars("GNVR_BRIDGE").Visible = True.

>
> > Very frequently I have to right click and unselect and again select it
> > for it to appear.

>
> > I drag the the only toolbar menu (standard) which is there out then i
> > can see my command bar.

>
> > How to set this right. yes I delete this custom command bar on
> > closing the workbook


THNK U BERNIE- I got the lead and tried various options and got the
hang of it.

 
Reply With Quote
 
CAPTGNVR
Guest
Posts: n/a
 
      17th Feb 2007
On Feb 17, 3:03 am, Gord Dibben <gorddibbATshawDOTca> wrote:
> You can designate where the toolbar is to appear.
>
> See the code for this at Debra Dalgleish's site.
>
> http://www.contextures.on.ca/xlToolbar02.html
>
> Gord Dibben MS Excel MVP
>
> On 16 Feb 2007 09:03:49 -0800, "CAPTGNVR" <captg...@gmail.com> wrote:
>
> >DEAR ALL
> >I have put custom command bar by name 'GNVR_BRIDGE' and have put a vb
> >to make it visible on opening the workbook.
> >Application.CommandBars("GNVR_BRIDGE").Visible = True.

>
> >Very frequently I have to right click and unselect and again select it
> >for it to appear.

>
> >I drag the the only toolbar menu (standard) which is there out then i
> >can see my command bar.

>
> >How to set this right. yes I delete this custom command bar on
> >closing the workbook


THNK YOU GORD, yes found the site useful and getting more knowldg.

 
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
In Outlook, how do I create and add a custom command to custom men =?Utf-8?B?Q3JlYXRlIGFuZCBhZGQgY3VzdG9tIGNvbW1hbmQg Microsoft Outlook Discussion 0 9th Nov 2007 01:08 AM
Custom footer settup changes for unknown reason. =?Utf-8?B?SGVyYg==?= Microsoft Excel Misc 0 26th Oct 2006 10:06 PM
Linking custom show slides and looping back to main show. Bookworm Microsoft Powerpoint 1 9th Sep 2006 03:57 PM
DataAdapter Insert Command changes for no reason Carlos Kirkconnell Microsoft ADO .NET 1 24th May 2004 01:32 PM
Show custom command in context menu Add-In Roman Muntyanu Microsoft C# .NET 0 6th Apr 2004 02:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:52 AM.