Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Hyperlink - custom view

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Hyperlink - custom view

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
--
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


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
View Hyperlink in another cell Mike57 Excel Discussion (Misc queries) 1 January 13th 10 04:56 PM
Custom View Me Excel Worksheet Functions 0 March 13th 07 06:42 PM
View Custom View with Sheet Protection John H[_2_] New Users to Excel 1 February 16th 07 05:54 PM
How to view a custom view when the worksheet is protected? JulesJam Excel Worksheet Functions 0 March 6th 06 02:15 PM
Missing "Custom View" entry from View menu mycroft777 Excel Discussion (Misc queries) 1 February 3rd 06 05:33 PM


All times are GMT +1. The time now is 11:06 AM.

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"