Please bear with me. This seems like it should be simple, but ...
I have a workbook with two sheets in it. The first sheet lists programs on one of our servers, the other lists users. I'm trying to create a hyperlink on the first sheet that will highlight (select) all users (on the second sheet) that have access to the program. (The idea is to give this to the owners of the company, so they can click on a program and see who has access to it.)
I figured out how to create named ranges on the second sheet, so I can highlight all users with a certain security code. I have a security code for each program in the first sheet in column 'C'.
My first attempt was to simply click-drag over the desired entries in the first sheet and create a hyperlink to the desired named range on the second sheet. This works fine ... as long as the first sheet isn't resorted. Sort the first sheet on another column and I discover that (apparently) the hyperlinks were created on the ROWS, not the data. In other words, the links still "work", but suddenly point to the wrong entries. Sorting by the initial column (as it was when I created the links) "fixes" it.
I've looked through the forum here and found a solution that will create the links automatically somehow (I think it was a VBScript, but I don't have the background to know), but I barely know enough about Excel to figure out what I already did; I have no clue how to create a macro or function or whatever to do this (but obviously am willing to learn!).
I would just "bite the bullet" and create the hyperlinks manually, but there are 1165 rows to go through (it would be sweet if it could cover all 4 columns I have as well, but not necessary). So I need a better answer (besides you don't learn much by biting bullets, except that lead isn't good for you).
Answer that would work: How do I fix these "row bound" hyperlinks to bind to the data in the cells, so that if I sort off of another column the links follow the data WITHOUT creating 1165 hyperlinks manually?
Best answer: How do I create a script/macro/function thingie that will create hyperlinks dynamically on a row, based on data in a column of that row (bonus kudos for allowing the links to work on ANY column, so that I could click cell A20 and have the link work based on the data in C20)? Remember that I won't get it initally, explain as you would a child (I've never created any script/macro/function thingie in Excel before; I'm a Java programmer with some WebObjects experience. I have tried to get the script thingie I saw in here to work, but after a frustrating hour all I can say is Excel is fighting me and it just won't work. I KNOW this is because I don't have a clue as to what I'm doing, which is why I'm here begging for help).
javascript:emoticon('')
Things you want to know:
Excel v.X for Mac (OS 10.3.7)
Excel experience level 0.5 (I can read the documentation - barely)
Many thanks in advance for any knowledge you can impart!
I have a workbook with two sheets in it. The first sheet lists programs on one of our servers, the other lists users. I'm trying to create a hyperlink on the first sheet that will highlight (select) all users (on the second sheet) that have access to the program. (The idea is to give this to the owners of the company, so they can click on a program and see who has access to it.)
I figured out how to create named ranges on the second sheet, so I can highlight all users with a certain security code. I have a security code for each program in the first sheet in column 'C'.
My first attempt was to simply click-drag over the desired entries in the first sheet and create a hyperlink to the desired named range on the second sheet. This works fine ... as long as the first sheet isn't resorted. Sort the first sheet on another column and I discover that (apparently) the hyperlinks were created on the ROWS, not the data. In other words, the links still "work", but suddenly point to the wrong entries. Sorting by the initial column (as it was when I created the links) "fixes" it.
I've looked through the forum here and found a solution that will create the links automatically somehow (I think it was a VBScript, but I don't have the background to know), but I barely know enough about Excel to figure out what I already did; I have no clue how to create a macro or function or whatever to do this (but obviously am willing to learn!).
I would just "bite the bullet" and create the hyperlinks manually, but there are 1165 rows to go through (it would be sweet if it could cover all 4 columns I have as well, but not necessary). So I need a better answer (besides you don't learn much by biting bullets, except that lead isn't good for you).
Answer that would work: How do I fix these "row bound" hyperlinks to bind to the data in the cells, so that if I sort off of another column the links follow the data WITHOUT creating 1165 hyperlinks manually?
Best answer: How do I create a script/macro/function thingie that will create hyperlinks dynamically on a row, based on data in a column of that row (bonus kudos for allowing the links to work on ANY column, so that I could click cell A20 and have the link work based on the data in C20)? Remember that I won't get it initally, explain as you would a child (I've never created any script/macro/function thingie in Excel before; I'm a Java programmer with some WebObjects experience. I have tried to get the script thingie I saw in here to work, but after a frustrating hour all I can say is Excel is fighting me and it just won't work. I KNOW this is because I don't have a clue as to what I'm doing, which is why I'm here begging for help).
javascript:emoticon('')
Things you want to know:
Excel v.X for Mac (OS 10.3.7)
Excel experience level 0.5 (I can read the documentation - barely)
Many thanks in advance for any knowledge you can impart!