G Guest Apr 9, 2006 #1 How can I create new hyperlink with VBA. The path I want to use is: C:\Test\test.xls Thanks in advance. Maperalia
How can I create new hyperlink with VBA. The path I want to use is: C:\Test\test.xls Thanks in advance. Maperalia
G Gary Keramidas Apr 9, 2006 #2 this will put it in cell a1 on sheet1 Sub test() With Worksheets("Sheet1") .Hyperlinks.Add .Range("A1"), "C:\Test\test.xls" End With End Sub
this will put it in cell a1 on sheet1 Sub test() With Worksheets("Sheet1") .Hyperlinks.Add .Range("A1"), "C:\Test\test.xls" End With End Sub