+ Reply to Thread
Results 1 to 6 of 6

Control Toolbox , user paths

Hybrid View

penzer Control Toolbox , user paths 02-04-2008, 11:45 AM
Richard Buttrey Hi, You could name the... 02-05-2008, 10:00 AM
penzer cheers for your help. how... 02-06-2008, 06:03 AM
mudraker hexaflexagon Please read... 02-06-2008, 06:39 AM
Richard Buttrey Hi, You'll need to write a... 02-06-2008, 02:19 PM
penzer cheers for your help 02-08-2008, 06:37 AM
  1. #1
    Registered User
    Join Date
    01-16-2008
    Posts
    32

    Control Toolbox , user paths

    COuld anyone tell me how to do this and what to use to do it:

    I need to have a function where by the user has to input something or select something in order to get to a different page etc.

    I want the user to have to select or input something in order to acess the hyperlink which opens a powerpoint presentation.


    please Help,

    thanks in advance

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by penzer
    COuld anyone tell me how to do this and what to use to do it:

    I need to have a function where by the user has to input something or select something in order to get to a different page etc.

    I want the user to have to select or input something in order to acess the hyperlink which opens a powerpoint presentation.


    please Help,

    thanks in advance

    Hi,

    You could name the cell which contains the hyperlink, say "Hyperlink", then ask the user to use the Edit-->Goto menu, select the name Hyperlink and OK.

    Alternatively you could attach a CTRL Key, say CTRL-H which runs a simple line of VBA macro code, e.g.

    Sub ViewHyperlink
    Range("Hyperlink").Parent.Activate: Range("Hyperlink").Select
    End Sub

    HTH

  3. #3
    Registered User
    Join Date
    01-16-2008
    Posts
    32
    cheers for your help. how would i go about getting a hyperlink to load if the user was to select/click a button (not just a macro ) i mean the button in the control toolbox (radio button it might be called) the singular button

    thanks

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    hexaflexagon

    Please read forum rules & wrap your VBA code

    A thread with the rules is available at the top of each forum or see links below

    If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
    http://www.excelforum.com/showthread.php?t=583950
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by penzer
    cheers for your help. how would i go about getting a hyperlink to load if the user was to select/click a button (not just a macro ) i mean the button in the control toolbox (radio button it might be called) the singular button

    thanks

    Hi,

    You'll need to write a one line piece of code (or macro) and attach it to the button. Personally I'd use the square button from the Forms toolbar rather than the radio button which is usually used within a frame for selecting one of several options. Don't forget you can attach macro code to any object. It doesn't have to be a forms control object. It could be an icon, or even a picture graphic taken from the hyperlink site you want to get to.

    Anyway, whichever you use, here's the code:

    Sub MyHyperlink()
        ActiveWorkbook.FollowHyperlink Address:="http://www.excelforum.com/newreply.php?do=newreply&p=1879811", _
            NewWindow:=True
    
    End Sub
    HTH

  6. #6
    Registered User
    Join Date
    01-16-2008
    Posts
    32
    cheers for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1