Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Hyperlink in Excel

Former Member
0 Likes
740

Hi,

I have an excel file with different filenames in each cell.

I am trying to hyperlink each cell with the corresponding file path..

I had searched one thread in SDN but my problem is not solved .

Can anyone help me on this with a sample code.

Thanks

Sekhar

4 REPLIES 4
Read only

athavanraja
Active Contributor
0 Likes
616

when you populate the cell content pass it like below


=HYPERLINK("D:\Users\xxx\Desktop\myfile.txt","test link")

Read only

0 Likes
616

Thanks Raja,

I am not populating cell by cell data but i am using cl_gui_frontend_services=>clipboard_export to paste the data to excel file..

Read only

0 Likes
616

Hi,

To create hyperlink i had used this

SET PROPERTY OF cells 'Value' =

HYPERLINK("D:\Users\xxx\Desktop\myfile.txt","test link").

but displays a syntax error , does anyone have any idea

Thanks

Sekhar

Read only

0 Likes
616

Hi,

try this:

SET PROPERTY OF cells 'Value' =

'=HYPERLINK("D:\Users\xxx\Desktop\myfile.txt","test link")'.

regards, Dieter