Excel Hyperlink Question

HugeFish4

New Member
Joined
Dec 26, 2003
Messages
9
I am using Excel Hyperlink to have "Hot Links" in one excel file that link to several other excel files. However, I would like the links to be updated once a month to reflect the new month's file(s) with out having to to update each hyperlink separately. For example, if I have the following file in the following drive:

H:\Sep\12345.xls

and I do an edit replace "Sep" with "Oct", the link will appear as follows:

H:\Oct\12345.xls

However, the Hyperlink is really still pointing to the September File!!!! Is this unavoidable?????

Help! :oops:
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Here is one potential way to do it:
Let's say the new sheet is created on the first of every month for the previous month. So, by that I mean if today is December, you'll want to reference Nov in that file you're talking about, and continue to reference Nov until Jan 1 at which time you want to reference Dec. If this is not the case, you'll need to adjust the formulas below.

Create a new sheet in your workbook, and input this formula into A1
=INDEX(A2:A13,month(today())-1,1)

Create this table in A2:A13
A
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec

Now, here's the part that I don't know if it will work: In the hyperlink, under "Link to File or URL:" paste this formula (or some variant of it):
=indirect("H:\"&A1&"\12345.xls")

If this doesn't work, perhaps at least it will lead you in the right direction.

Scott
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,785
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top