Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with excel

  • 16-04-2008 12:06pm
    #1
    Closed Accounts Posts: 8


    I created a hyperlink in an empty slot on sheet1 which brings me to sheet2.In sheet two i want the user to be able to fill in a list of info and then i want the first line(name of list) to then appear in the slot in sheet1 that has the hyperlink.

    Does anyone know how to do this?


Comments

  • Registered Users, Registered Users 2 Posts: 373 ✭✭Edser


    Not too sure what exactly you want but try this..

    Right click on the cell with the link and choose 'Edit Hyperlink'

    In the 'Text to display' box put an equals sign (=) before the text which will probably look like 'Sheet2!A1', and click OK.

    Click on the link, enter some data and go back to Sheet1.

    Ed


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Are you really putting an Excel spreadsheet on the web ? :o


  • Moderators, Politics Moderators Posts: 41,226 Mod ✭✭✭✭Seth Brundle


    You would need some VBA code triggered when the sheet or cell changes.

    try this on a sub:
    Private Sub Worksheet_Change(ByVal Target As Range)
        Dim sht1, sht2 As String
        sht1 = "Sheet1"
        'if they change the value in B2...
        If Target.Address = "$B$2" Then
            ActiveWorkbook.Worksheets(sht1).Cells(2, 2).Formula = "=HYPERLINK(""" & ActiveWorkbook.Name & "#'" & ActiveSheet.Name & "'!B2"", """ & ActiveSheet.Cells(2, 2).Value & """)"
        End If
    End Sub
    
    
    Liam Byrne wrote: »
    Are you really putting an Excel spreadsheet on the web ? :o
    The OP never claimed to be planning on doing that!

    edit: sorry Laim - I now remember that its in the Web Development & Design forum!


Advertisement