Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chuck N
 
Posts: n/a
Default Insert Data when hyperlink is clicked


I have a set of reciept numbers on one worksheet and i want you to be
able to click on the reciept number and it will put that reciept number
in cell J1 on the other worksheet. Is there a way to do this?


--
Chuck N
------------------------------------------------------------------------
Chuck N's Profile: http://www.excelforum.com/member.php...o&userid=27057
View this thread: http://www.excelforum.com/showthread...hreadid=465742

  #2   Report Post  
Juan Pablo González
 
Posts: n/a
Default

You could do it using the FollowHyperlink event of the worksheet which is
available, if I remember correctly, in Excel XP and above.

--
Regards,

Juan Pablo González
Excel MVP
"Chuck N" wrote in
message ...

I have a set of reciept numbers on one worksheet and i want you to be
able to click on the reciept number and it will put that reciept number
in cell J1 on the other worksheet. Is there a way to do this?


--
Chuck N
------------------------------------------------------------------------
Chuck N's Profile:
http://www.excelforum.com/member.php...o&userid=27057
View this thread: http://www.excelforum.com/showthread...hreadid=465742



  #3   Report Post  
Chuck N
 
Posts: n/a
Default


John Peltier definetly helped me out with this! Here is the code if
anyone is interested


Code:
--------------------
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
ThisWorkbook.Worksheets("Form").Range("J1").Value _
= Target.Range.Value
End Sub
--------------------


--
Chuck N
------------------------------------------------------------------------
Chuck N's Profile: http://www.excelforum.com/member.php...o&userid=27057
View this thread: http://www.excelforum.com/showthread...hreadid=465742

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
Insert excel data source into word doc using currency symbols Ginny Excel Worksheet Functions 1 May 31st 05 12:44 AM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
insert data into chart Sybil227 Charts and Charting in Excel 2 April 12th 05 02:29 PM
Import Data: on insert, shift data down and not right Raminhos Excel Discussion (Misc queries) 1 February 17th 05 02:08 PM
insert data from one excel file into another Leonard Excel Discussion (Misc queries) 1 December 2nd 04 12:35 PM


All times are GMT +1. The time now is 08:08 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"