#1   Report Post  
Dave
 
Posts: n/a
Default Floating Toolbar

Hi All

Is there a way to have a floating toolbar in say Sheet1 and one in Sheet2
with different names and they only show up in there own sheet.

Thanks in Advance

Dave


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Hide it and make it visible in the worksheet_Activate event

Application.Commandbars("myBar1").Visible = True


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dave" wrote in message
...
Hi All

Is there a way to have a floating toolbar in say Sheet1 and one in Sheet2
with different names and they only show up in there own sheet.

Thanks in Advance

Dave




  #3   Report Post  
Dave
 
Posts: n/a
Default

Thanks for a quick reply, Bob

I'm new to Excel, I've been looking were to put this code I've looked in the
sheet, view code etc. Also looked in Help. I'm lost
Could you tell me how and where to put this code.

Application.Commandbars("myBar1").Visible = True

-------------------------------

Hi All

Is there a way to have a floating toolbar in say Sheet1 and one in Sheet2
with different names and they only show up in there own sheet.

Thanks in Advance

Dave

-------------------------------

Hide it and make it visible in the worksheet_Activate event

Application.Commandbars("myBar1").Visible = True


--

HTH

RP
(remove nothere from the email address if mailing direct)


  #4   Report Post  
Dave
 
Posts: n/a
Default

Thanks for a quick reply, Bob

I'm new to Excel, I've been looking were to put this code I've looked in the
sheet, view code etc. Also looked in Help. I'm lost
Could you tell me how and where to put this code.

Application.Commandbars("myBar1").Visible = True

-------------------------------

Hi All

Is there a way to have a floating toolbar in say Sheet1 and one in Sheet2
with different names and they only show up in there own sheet.

Thanks in Advance

Dave

-------------------------------

Hide it and make it visible in the worksheet_Activate event

Application.Commandbars("myBar1").Visible = True


--

HTH

RP
(remove nothere from the email address if mailing direct)



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Dave,

Hope this helps

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
If Sh.Name = "Sheet1" Then
Application.CommandBars("myBar1").Visible = True
Application.CommandBars("myBar2").Visible = False
ElseIf Sh.Name = "Sheet2" Then
Application.CommandBars("myBar1").Visible = False
Application.CommandBars("myBar2").Visible = True
End If
End Sub


'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

Change the sheet names and commandbar names accordingly.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dave" wrote in message
...
Thanks for a quick reply, Bob

I'm new to Excel, I've been looking were to put this code I've looked in

the
sheet, view code etc. Also looked in Help. I'm lost
Could you tell me how and where to put this code.

Application.Commandbars("myBar1").Visible = True

-------------------------------

Hi All

Is there a way to have a floating toolbar in say Sheet1 and one in Sheet2
with different names and they only show up in there own sheet.

Thanks in Advance

Dave

-------------------------------

Hide it and make it visible in the worksheet_Activate event

Application.Commandbars("myBar1").Visible = True


--

HTH

RP
(remove nothere from the email address if mailing direct)




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
How to prevent "Reviewing" toolbar from "automatically" appearing? FishHead Excel Discussion (Misc queries) 1 March 30th 05 05:00 PM
Is there a way to lock in the toolbar settings?? kydan47 Excel Discussion (Misc queries) 0 March 30th 05 02:13 PM
PDF 4.0 Floating Toolbar Darrell Excel Discussion (Misc queries) 1 February 10th 05 06:14 PM
"Drawing" Toolbar is inactive Deauxx Excel Discussion (Misc queries) 1 December 8th 04 03:03 PM
How do I stop the Reviewing toolbar from showing up in Excel? RickKel Excel Discussion (Misc queries) 2 November 26th 04 05:37 PM


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