Dynamic hyperlink ending

Gavlar

New Member
Joined
Oct 9, 2012
Messages
2
Hello all!

This is my first ever post on MrExcel, so please be gentle with me regarding VBA and Macros since this is all still pretty new to me.

Ok, so I would like to know whether the following is possible with VBA and how I should go about doing it since I have yet to find an answer but it will probably be easy for you guys! This would really add some efficiency to my day if there is a way of making this a macro.

I am trying to create dynamic hyperlinks that alter based on 4 digit numbers entered inside cells within a single column. In other words, the beginning of the URL always remains the same, but the last four digits are the part that changes (i.e. example.com/id-xxxx). So that when a 4 digit number is then added into a cell, the cell subsequently becomes a hyperlink to that unique ID.

How would I go about creating this?

Many thanks in advance!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If this is not possible, could someone from the community please let me know.

If it is, any help whether it be a rough guide or the actual code would be really helpful! I have been watching a lot of tutorials concerning the basics so I just need a rough idea.

Cheers,
Gav
 
Upvote 0

Forum statistics

Threads
1,216,228
Messages
6,129,617
Members
449,520
Latest member
TBFrieds

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