Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hyperlink with cell value as part of address


I have what is hopefully a simple request, but was unable to get enough
specific help with only the search function to complete this task
myself.

What I have:
I have a vendor-supplied bill of materials spreadsheet with part
numbers in a column. I want to single-click select any cell containing
a drawing number, then click one "button" with a hyperlink to open the
pdf drawing, based on the value of the selected active cell.

For the following example, the text displayed in the cell is "1234567"
and is the part number. My current hyperlink looks like this:
"http://cad.company.com/vault/AccessFile.asp?DrawingID=1234567&Source=FM&FileTyp e=PDF"

My question(s) is/a
What is the proper syntax to obtain the active cell value and replace
it in the hyperlink? Is it even possible?


I know I could set up separate hyperlinks for each cell, but I would
like to do it this way to save time and reduce errors. (I do not know
VBA, yet.)

Thanks!


--
chevee55
------------------------------------------------------------------------
chevee55's Profile: http://www.excelforum.com/member.php...o&userid=32309
View this thread: http://www.excelforum.com/showthread...hreadid=520645

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default hyperlink with cell value as part of address

Hi chevee55

Try this with in A1 the number

=HYPERLINK("http://cad.company.com/vault/AccessFile.asp?DrawingID=" & A1 &"&Source=FM&FileType=PDF")


--
Regards Ron de Bruin
http://www.rondebruin.nl


"chevee55" wrote in message
...

I have what is hopefully a simple request, but was unable to get enough
specific help with only the search function to complete this task
myself.

What I have:
I have a vendor-supplied bill of materials spreadsheet with part
numbers in a column. I want to single-click select any cell containing
a drawing number, then click one "button" with a hyperlink to open the
pdf drawing, based on the value of the selected active cell.

For the following example, the text displayed in the cell is "1234567"
and is the part number. My current hyperlink looks like this:
"http://cad.company.com/vault/AccessFile.asp?DrawingID=1234567&Source=FM&FileTyp e=PDF"

My question(s) is/a
What is the proper syntax to obtain the active cell value and replace
it in the hyperlink? Is it even possible?


I know I could set up separate hyperlinks for each cell, but I would
like to do it this way to save time and reduce errors. (I do not know
VBA, yet.)

Thanks!


--
chevee55
------------------------------------------------------------------------
chevee55's Profile: http://www.excelforum.com/member.php...o&userid=32309
View this thread: http://www.excelforum.com/showthread...hreadid=520645



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default hyperlink with cell value as part of address

I would remove the hyperlink from that cell and use this in the cell to its
right:

=hyperlink("http://cad.company.com/vault/AccessFile.asp?DrawingID=" & A1
& "&Source=FM&FileType=PDF", A1)

(all one cell)

chevee55 wrote:

I have what is hopefully a simple request, but was unable to get enough
specific help with only the search function to complete this task
myself.

What I have:
I have a vendor-supplied bill of materials spreadsheet with part
numbers in a column. I want to single-click select any cell containing
a drawing number, then click one "button" with a hyperlink to open the
pdf drawing, based on the value of the selected active cell.

For the following example, the text displayed in the cell is "1234567"
and is the part number. My current hyperlink looks like this:
"http://cad.company.com/vault/AccessFile.asp?DrawingID=1234567&Source=FM&FileTyp e=PDF"

My question(s) is/a
What is the proper syntax to obtain the active cell value and replace
it in the hyperlink? Is it even possible?

I know I could set up separate hyperlinks for each cell, but I would
like to do it this way to save time and reduce errors. (I do not know
VBA, yet.)

Thanks!

--
chevee55
------------------------------------------------------------------------
chevee55's Profile: http://www.excelforum.com/member.php...o&userid=32309
View this thread: http://www.excelforum.com/showthread...hreadid=520645


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default hyperlink with cell value as part of address


Thank you for the replies, and it coincides with my search results. I
had tried it, but the cell call-out gets converted to
"%22%20&%20A1%20&%20%22", so the hyperlink fails.

However, I will clarify my question further, in that I want the
hyperlink to be variable, to handle whatever cell I select. It would
automatically "grab" the contents of the active cell that I have
single-clicked on, and make that part of the hyperlink path.
Is that possible without resorting to VBA?


--
chevee55
------------------------------------------------------------------------
chevee55's Profile: http://www.excelforum.com/member.php...o&userid=32309
View this thread: http://www.excelforum.com/showthread...hreadid=520645

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default hyperlink with cell value as part of address

I don't think so.



chevee55 wrote:

Thank you for the replies, and it coincides with my search results. I
had tried it, but the cell call-out gets converted to
"%22%20&%20A1%20&%20%22", so the hyperlink fails.

However, I will clarify my question further, in that I want the
hyperlink to be variable, to handle whatever cell I select. It would
automatically "grab" the contents of the active cell that I have
single-clicked on, and make that part of the hyperlink path.
Is that possible without resorting to VBA?

--
chevee55
------------------------------------------------------------------------
chevee55's Profile: http://www.excelforum.com/member.php...o&userid=32309
View this thread: http://www.excelforum.com/showthread...hreadid=520645


--

Dave Peterson
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
search spreadsheet for 'xyz' as part of any hyperlink address sir lancelot Excel Discussion (Misc queries) 0 May 10th 07 02:58 PM
VLOOKUP with cell address as part of the argument mmmbl Excel Discussion (Misc queries) 1 January 27th 07 01:45 AM
How to use cell data as part of hyperlink function txlonghorn1989 Excel Worksheet Functions 0 June 21st 06 10:12 PM
Is there a function to extract the URL part of a hyperlink in another cell? Rufus V. Smith Excel Worksheet Functions 4 March 28th 06 06:39 PM
Replace part of link address in a cell with a value(date) from ano Hakan Excel Discussion (Misc queries) 0 July 20th 05 12:39 PM


All times are GMT +1. The time now is 01:20 PM.

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

About Us

"It's about Microsoft Excel"