Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
LDBlanes
 
Posts: n/a
Default Hyperlink change address

I have an Excel database which has a hyperlink to a related form for each row
of data.
Each link is to a unique file.
Right now the hyperlink is in column J and the file name is in column K.
So the hyperlink column reads =hyperlink(K1,"File info") and so on.
It works nicely but I'm using two columns for a one column job.

I would like to combine the two columns into one, if possible. So that the
hyperlink would include the actual file path and name and not just the column
reference.

I have tried using a replace command and a concatenate command to try to
combine the two columns into one but neither works.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pancake Batter
 
Posts: n/a
Default Hyperlink change address

Hi LDBlanes-

Have filename in one column and in the column next to that put in the row of
final hyperlink. Concatenate filename and row into text below for each row.

ActiveSheet.Hyperlinks.Add Anchor:=Selection,
Address:="ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="filename", _
TextToDisplay:="filename"

Range("ColumnRow").Select

Copy the concatenated text results to word, add a paragraph/carriage return
to "TextToDisplay:="filename". Then copy it all back to an Excel macro and
run it.

Hope it makes sense.

PB




Range("C19").Select


"LDBlanes" wrote:

I have an Excel database which has a hyperlink to a related form for each row
of data.
Each link is to a unique file.
Right now the hyperlink is in column J and the file name is in column K.
So the hyperlink column reads =hyperlink(K1,"File info") and so on.
It works nicely but I'm using two columns for a one column job.

I would like to combine the two columns into one, if possible. So that the
hyperlink would include the actual file path and name and not just the column
reference.

I have tried using a replace command and a concatenate command to try to
combine the two columns into one but neither works.

Any ideas?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink problem to cell in same workbook stainless Excel Discussion (Misc queries) 1 November 15th 05 04:53 PM
hyperlink base address RWS Excel Discussion (Misc queries) 6 November 6th 05 05:15 AM
I Need a formula to evaluate a cell with + or - values Bob in Oklahoma Excel Worksheet Functions 6 October 31st 05 02:41 PM
create hyperlink in one cell with URL in a different cell confused on the tundra Excel Worksheet Functions 9 December 24th 04 03:22 PM
Can I create a dynamic email address in Excels hyperlink? ibrettferguson Excel Worksheet Functions 1 November 8th 04 02:24 AM


All times are GMT +1. The time now is 09:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"