Consulting

Results 1 to 7 of 7

Thread: Hyperlink to another form.

  1. #1
    Banned VBAX Regular
    Joined
    Mar 2007
    Posts
    41
    Location

    Hyperlink to another form.

    Hi!

    I have a user form that has a Label and a textbox. What I want is whenever user enters any value into the textbox that (value) becomes a hyperlink and when clicked it will open another form say userform 2.

    Any help is appreciated.

    Shane.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Why not use a multipage form and keep all your data together?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    Banned VBAX Regular
    Joined
    Mar 2007
    Posts
    41
    Location

    How do i do that ?

    How do i do that ?

  4. #4
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    You'll find a multipage control in the Userform Toolbox
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    Banned VBAX Regular
    Joined
    Mar 2007
    Posts
    41
    Location

    hyperlink

    Thanks for ur suggestion. However, I do not need that format as per the requirement I need to make the textbox value as hyperlink. Repeting mu issue once again.

    I have a user form that has a Label and a textbox. What I want is whenever user enters any value into the textbox that (value) becomes a hyperlink and when clicked it will open another form say userform 2.

    Shane.

  6. #6
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    I'm curious as to why you want to do this ...
    • When you say create a hyperlink to another form, does the text entered by the user have any impact on what the link is, or should it always link to the same form?
    • What if the user makes a typing error and wants to change the text in the text box? It's a good idea to stick to the standard Windows conventions that your users are familiar with, and expecting a text box to behave as a link is definitely not standard practice.

  7. #7
    Banned VBAX Regular
    Joined
    Mar 2007
    Posts
    41
    Location

    hyperlink

    Hi! mdmackillop,

    I got a MS Access based project and i need to create the same applictaion in MS Excel as due to certain restrictions my Client is unable to run the MS Access application.

    Now in first form in MS Access there is a text box where a user have to enter Emp ID. Now at the joining time there are few documents that a employee needs to submit in the new organisation. So as per Access application when user types in the Emp ID in the text box that entry will convert into hyperlink that opens up the second form that contains the list of documents that needs to be submitted by employee.

    Shane

Posting Permissions

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