Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Hyperlink - custom view

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Annette - 28 Mar 2008 21:56 GMT
Is it possible that when a user clicks on a hyperlink, the custom view
appears?  And how would I write that into a macro?

Annette
Jim Cone - 29 Mar 2008 02:47 GMT
Annette,
You could link the Hyperlink back to itself and then use the
FollowHyperlink event to show the view.  
Something like the following should work...
'--
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
  'hyperlink cell
  If Target.Range.Address = "$B$5" Then    
      ThisWorkbook.CustomViews("Current Inventory").Show
  End If
End Sub
Signature

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)

"Annette"
wrote in message
Is it possible that when a user clicks on a hyperlink, the custom view
appears?  And how would I write that into a macro?
Annette

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.