Thanks Andrzejek!!!
That worked beautifully, but I see now I need a modification.
So this is what I pasted in:
Code:
ActiveSheet.Hyperlinks.Add ActiveSheet.Range("DI3:DO8"), "[URL unfurl="true"]http://www.johndoe.com",,,[/URL] ""
So actually this will need to be done over several cells as you can see from the range, but some of those cells are empty. So if any cells are empty, I don't want that cell to have a hyperlink.
Also, there is different text in each cell, but they will have the same hyperlink, so as you can see where I had "Text Here", I just left that part blank.
Is there anyway to not have the hyperlinks on the blank cells?
The bad thing about this, it is a running sheet of information, that will have a lot of cells with past months information (for the same year), which needs to be kept on the same sheet. With that being said, we would have to go into the code and change the range, everytime we update this information with the current information.
Maybe I will talk with my management, to see if we can reformat this excel spreadsheet, to put past months on different tabs and that way we would not have to update the code everytime.
So for now again, is there anyway to not have the hyperlinks on the blank cells?