Hi I need help, I need a VBA that any cell in Column "E" that starts with “https:*” becomes an Active Hyperlink and displays as “Link to Site” and all cells do not become Hyperlinks and are unchanged.
I have tried a few methods (one below) but all convert all cells in E Column to Hyperlinks...
I am trying to modify an existing hyperlink from a VBA macro
The existing link is in cell B1 (B1 through H1 are merged to fomB1 if that makes a difference) of worksheet("TestSheet")
I want to change the existing subaddress from whatever it is to "UI!A", and the TextToDisplay from whatever it...
I am trying to set the Hyperlink texttodisplay property in VBA to a formula to return a cell value from a different sheet using INDRECT, the code I am using is;
TextToDisplay:="=INDIRECT(""'"" & R6C1 & ""'!A1"")"
The formula will go into cell B6 so "R6C1" refers to A6.
But this does not...
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.