Since your text strings to create the full hyperlink are found in various cells, I would be remiss if I didn't point out the HYPERLINK function (formula) that does this same thing without VBA.
If the folder is in C203 and the filename is in E204, then, in F204 you could put:
=HYPERLINK($C$203&$E204, "Open File")
Sheet1
* | B | C | D | E | F | G |
* | * | * | * | * | * | |
* | C:\2010\ | * | * | * | * | |
* | * | * | MyFile.xls | * | | |
* | * | * | NextFile.xls | * | | |
* | * | * | Another.xls | * | | |
* | * | * | * | * | * | |
<tbody>
[TD="bgcolor: #cacaca, align: center"]202[/TD]
[TD="bgcolor: #cacaca, align: center"]203[/TD]
[TD="bgcolor: #cacaca, align: center"]204[/TD]
[TD="align: center"]Link[/TD]
[TD="bgcolor: #cacaca, align: center"]205[/TD]
[TD="align: center"]Link[/TD]
[TD="bgcolor: #cacaca, align: center"]206[/TD]
[TD="align: center"]Link[/TD]
[TD="bgcolor: #cacaca, align: center"]207[/TD]
</tbody>
Spreadsheet Formulas |
Cell | Formula | F204 | =HYPERLINK($C$203&$E204, "Link") |
<tbody>
</tbody> |
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
I've been trying to determine how I can create hyperlinks based on cell text to external websites. I have a small workbook, only a couple hundred lines, but each record will have 4-6 hyperlinks unique to that record. Each hyperlink is identical across all records, except for the identifier number.
For example, one link is
C G A5
The bolded text is the unique feature, but it's not quite that easy. There may be links with static text after the bolded cell text.
What I am hoping to do is create a formula or some code (I have zero knowledge of coding) that will do the following:
I'd love to be able to input a bill number in column A, and have a formula with the basic structure for the relevant link (example above), but that inserts the text from column A into the hyperlink. The sample quoted above may work, but would require that I have the remainder of the link text elsewhere in the workbook. Ideally, I'd love to have this in the formula only.
Also, since most of the hyperlinks will have static text before and after the cell text I'm trying to use, but I'm not sure if that matters.
I know enough about Excel to know that this is feasible, and for intelligent folks with experience using Excel, probably not terribly onerous. I just don't know what the options are and every time I search, I end up with VB code, which I suspect is overkill for this effort.
[TABLE="class: grid, width: 1705"]
<tbody>[TR]
[TD="width: 64"]Bill Number[/TD]
[TD="width: 30"][/TD]
[TD="width: 380"]Title[/TD]
[TD="width: 64"]Bill[/TD]
[TD="width: 73"]Committee[/TD]
[TD="width: 68"]Hearing[/TD]
[TD="width: 48"]Support?[/TD]
[TD="width: 46"]Rec Testimony[/TD]
[TD="width: 64"]OHA Testimony[/TD]
[TD="width: 46"]Link to Testimony[/TD]
[TD="width: 42"]New Mandate?[/TD]
[TD="width: 270"]Notes[/TD]
[TD="width: 64"]Amendments[/TD]
[TD="width: 64"][/TD]
[TD="width: 54"]Position[/TD]
[TD="width: 136"]Action[/TD]
[TD="width: 64"]JF Report[/TD]
[TD="width: 64"]Fiscal Note[/TD]
[TD="width: 64"]Bill Analysis[/TD]
[/TR]
[TR]
[TD="width: 64"]5
[/TD]
[TD="width: 30"]LINK[/TD]
[TD="width: 380"]AN ACT CONCERNING HEALTH INSURANCE COVERAGE FOR TELEMEDICINE SERVICES[/TD]
[TD="width: 64"]LINK[/TD]
[TD="width: 73"]Insurance and Real Estate
[/TD]
[TD="width: 68"]2/3[/TD]
[TD="width: 48"]Yes[/TD]
[TD="width: 46"]Yes[/TD]
[TD="width: 64"][/TD]
[TD="width: 46"]LINK[/TD]
[TD="width: 42"]Maybe[/TD]
[TD="width: 270"]Mandate?[/TD]
[TD="width: 64"]LINK[/TD]
[TD="width: 64"][/TD]
[TD="width: 54"][/TD]
[TD="width: 136"][/TD]
[TD="width: 64"]LINK[/TD]
[TD="width: 64"]LINK[/TD]
[TD="width: 64"]LINK[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance!!