Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can I keep the web toolbar from appearing after doing a hyperlink within
Excel? -- James A |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
James
You could set a Workbook_SheetFollowHyperLink() event code which should shut it down as you click on a hyperlink. Give it a go and let us know (Needs to go in the ThisWorkbook module) Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink) Application.CommandBars("Web").Visible = False End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "James A" wrote in message ... How can I keep the web toolbar from appearing after doing a hyperlink within Excel? -- James A |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for your help. I do not know VBA but I tried copy and paste your
statement into the VB editor in "this workbook". I get a compile error message that says "Procedure declaration does not match description of event or procedure having the same name". Does this mean this will not work or did I not enter correctly?. -- James A "Nick Hodge" wrote: James You could set a Workbook_SheetFollowHyperLink() event code which should shut it down as you click on a hyperlink. Give it a go and let us know (Needs to go in the ThisWorkbook module) Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink) Application.CommandBars("Web").Visible = False End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "James A" wrote in message ... How can I keep the web toolbar from appearing after doing a hyperlink within Excel? -- James A |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Nick's code wrapped in the newsgroup post.
Try this editted version. Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, _ ByVal Target As Hyperlink) Application.CommandBars("Web").Visible = False End Sub The underscore followed by a space means that the logical line is continued on the next physical line. You could have also put that "private....As Hyperlink" all on one physical line. James A wrote: Thanks for your help. I do not know VBA but I tried copy and paste your statement into the VB editor in "this workbook". I get a compile error message that says "Procedure declaration does not match description of event or procedure having the same name". Does this mean this will not work or did I not enter correctly?. -- James A "Nick Hodge" wrote: James You could set a Workbook_SheetFollowHyperLink() event code which should shut it down as you click on a hyperlink. Give it a go and let us know (Needs to go in the ThisWorkbook module) Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink) Application.CommandBars("Web").Visible = False End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS www.nickhodge.co.uk "James A" wrote in message ... How can I keep the web toolbar from appearing after doing a hyperlink within Excel? -- James A -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I use a simpler method than other replies, by removing all the commands from
the web toolbar, then move its vestige off the toolbars and onto the very top bar (Microsoft Excel) where it stays out of the way. "James A" wrote: How can I keep the web toolbar from appearing after doing a hyperlink within Excel? -- James A |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Toolbar partally hidden? | Excel Discussion (Misc queries) | |||
Ex 2K Standard Toolbar won't stay hidden | Excel Discussion (Misc queries) | |||
Copy without Hidden Cols - How | Excel Discussion (Misc queries) | |||
Toolbar problem | Excel Discussion (Misc queries) | |||
Stubborn toolbars in Excel | Excel Discussion (Misc queries) |