Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default How to keep Web Toolbar hidden

How can I keep the web toolbar from appearing after doing a hyperlink within
Excel?
--
James A
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default How to keep Web Toolbar hidden

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default How to keep Web Toolbar hidden

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to keep Web Toolbar hidden

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to keep Web Toolbar hidden

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
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
Toolbar partally hidden? ester Excel Discussion (Misc queries) 0 January 23rd 06 12:28 AM
Ex 2K Standard Toolbar won't stay hidden Dane Excel Discussion (Misc queries) 0 October 6th 05 11:47 PM
Copy without Hidden Cols - How abrogard Excel Discussion (Misc queries) 1 July 15th 05 07:54 AM
Toolbar problem Anthony Excel Discussion (Misc queries) 1 June 1st 05 01:05 AM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM


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