xoxomos
asked on
VB/Frontpage ????
My question is similar to q10259657. I want to take a flat text file say file01, which contains two columns.
aaa 12345
bbb 12312
ccc 212ab
I want to transform the aaa, bbb etc into a hyperlink consisting of a constant string say
'http://mymachine/documentation/tables/aaa.htm' and do the same for each line in the file.
What is some VB code that will do this?
aaa 12345
bbb 12312
ccc 212ab
I want to transform the aaa, bbb etc into a hyperlink consisting of a constant string say
'http://mymachine/documentation/tables/aaa.htm' and do the same for each line in the file.
What is some VB code that will do this?
remember to
Close #1
the textfile
Close #1
the textfile
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
stolen
ASKER
Don't know anything about it but it looks good. Will try it this weekend. Thanks
Then it would be:
dim strTemp as str
Open "<textfile>.txt" for Input as #1
line input #1, strTemp
hyperlink "http://mymachine/documentation/tables/" & strTemp
I don't know the exact code for a hyperlink as i am not at my desk.