Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default From a Data Range DoubleClick on a cell to populate elsewhere

I have a large named data range that when one cell is double clicked on that
I would like the value from that cell to populate in a cell on another
worksheet. Is that possible? Thx.

KK
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default From a Data Range DoubleClick on a cell to populate elsewhere

Put the following event macro in the worksheet code area:

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Target.Copy Sheets("Sheet2").Range("A1")
Cancel = True
End Sub

It will take any cell double-clicked and copy the contents to Sheet2 cell A1.

Adjust to suit.
--
Gary''s Student - gsnu200851


"KalliKay" wrote:

I have a large named data range that when one cell is double clicked on that
I would like the value from that cell to populate in a cell on another
worksheet. Is that possible? Thx.

KK

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
Populate worksheet with data that meets date range criteria P0llyW0G Excel Worksheet Functions 3 September 28th 08 10:01 PM
Populate cell range lost and confused in excel-land[_2_] Excel Worksheet Functions 1 July 13th 08 07:07 AM
doubleclick in cell to open link - how bjerre Excel Worksheet Functions 2 October 17th 07 04:01 PM
QUERY data range to populate separate worksheet? Greg Purnell[_2_] Excel Worksheet Functions 3 April 5th 07 01:49 PM
Force VB to doubleclick in a cell Brettjg Excel Discussion (Misc queries) 4 March 2nd 07 03:21 PM


All times are GMT +1. The time now is 12:45 AM.

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"