Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
is it possible to have a floating toolbar on a certain page in excel? bascially what i want is to combine 4 sheets into one and have the same buttons available to the user wherever they scroll on the page - but only on that page, not for all pages. tia! J |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When you say "page" I assume you mean worksheet. To have a toolbar appear
and disappear when a worksheet is activated/deactivated you'd have to use the corresponding events. Right click on the worksheet's tab and pick View Code. Paste this in and change the toolbar name to yours. This will take some fine-tuning. For instance it will not fire when the user changes to another workbook, just to another worksheet in this workbook. So you'd also have to code for the workbook activate/deactive events in the ThisWorkbook module. Private Sub Worksheet_Activate() Application.CommandBars("myBar1").Visible = True End Sub Private Sub Worksheet_Deactivate() Application.CommandBars("myBar1").Visible = False End Sub -- Jim "Gixxer_J_97" wrote in message ... | Hi all, | | is it possible to have a floating toolbar on a certain page in excel? | bascially what i want is to combine 4 sheets into one and have the same | buttons available to the user wherever they scroll on the page - but only on | that page, not for all pages. | | tia! | | J |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Jim!
J "Jim Rech" wrote: When you say "page" I assume you mean worksheet. To have a toolbar appear and disappear when a worksheet is activated/deactivated you'd have to use the corresponding events. Right click on the worksheet's tab and pick View Code. Paste this in and change the toolbar name to yours. This will take some fine-tuning. For instance it will not fire when the user changes to another workbook, just to another worksheet in this workbook. So you'd also have to code for the workbook activate/deactive events in the ThisWorkbook module. Private Sub Worksheet_Activate() Application.CommandBars("myBar1").Visible = True End Sub Private Sub Worksheet_Deactivate() Application.CommandBars("myBar1").Visible = False End Sub -- Jim "Gixxer_J_97" wrote in message ... | Hi all, | | is it possible to have a floating toolbar on a certain page in excel? | bascially what i want is to combine 4 sheets into one and have the same | buttons available to the user wherever they scroll on the page - but only on | that page, not for all pages. | | tia! | | J |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
floating toolbar to stay put | Excel Discussion (Misc queries) | |||
Floating Toolbar | Excel Discussion (Misc queries) | |||
PDF 4.0 Floating Toolbar | Excel Discussion (Misc queries) | |||
floating toolbar | Excel Programming | |||
Floating Toolbar | Excel Programming |