ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Create a hyperlink with concatenate and copy to a different workbo (https://www.excelbanter.com/excel-programming/412092-create-hyperlink-concatenate-copy-different-workbo.html)

akay71

Create a hyperlink with concatenate and copy to a different workbo
 
Hello All,
I am trying to create a hyperlink using concatenate after I get the
hyperlink created I need to copy the hyperlink to a different workbook. Is
this possible? Thanks.


joel

Create a hyperlink with concatenate and copy to a different workbo
 

Website = "http://example.microsoft.com"
Subdir = "/help"

set newbk = workbooks.open(filename:="c:\temp\abc.xls)

With newbk.Worksheets("Sheet1)
.Hyperlinks.Add .Range("E5"), Website & Subdir
End With

"akay71" wrote:

Hello All,
I am trying to create a hyperlink using concatenate after I get the
hyperlink created I need to copy the hyperlink to a different workbook. Is
this possible? Thanks.



All times are GMT +1. The time now is 11:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com