Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Displaying contents of Active Cell

Hello, in my spreadsheet I would like to display the contents of an active
cell in a different cell. As in, I select cell AB5 ("apples") and "apples"
would be displayed in cell A1; if E25 ("fox") is selected, the result in A1
would be "fox". I appreciate any suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Displaying contents of Active Cell

You will need to use a macro. Set the Security level to low/medium in
(Tools|Macro|Security). Right click the sheet tab View Code and paste the
below code. Try selecting in that sheet..

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1") = Target.Value
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Rope" wrote:

Hello, in my spreadsheet I would like to display the contents of an active
cell in a different cell. As in, I select cell AB5 ("apples") and "apples"
would be displayed in cell A1; if E25 ("fox") is selected, the result in A1
would be "fox". I appreciate any suggestions.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Displaying contents of Active Cell

Jacob, That works great. Thank you very much for the assistance. Rope...

"Jacob Skaria" wrote:

You will need to use a macro. Set the Security level to low/medium in
(Tools|Macro|Security). Right click the sheet tab View Code and paste the
below code. Try selecting in that sheet..

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1") = Target.Value
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Rope" wrote:

Hello, in my spreadsheet I would like to display the contents of an active
cell in a different cell. As in, I select cell AB5 ("apples") and "apples"
would be displayed in cell A1; if E25 ("fox") is selected, the result in A1
would be "fox". I appreciate any suggestions.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Displaying contents of Active Cell

Jacab, This worked great. Thanks very much for the assist. Rope.

"Rope" wrote:

Hello, in my spreadsheet I would like to display the contents of an active
cell in a different cell. As in, I select cell AB5 ("apples") and "apples"
would be displayed in cell A1; if E25 ("fox") is selected, the result in A1
would be "fox". I appreciate any suggestions.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Displaying contents of Active Cell

Cheers.

If this post helps click Yes
---------------
Jacob Skaria


"Rope" wrote:

Jacob, That works great. Thank you very much for the assistance. Rope...

"Jacob Skaria" wrote:

You will need to use a macro. Set the Security level to low/medium in
(Tools|Macro|Security). Right click the sheet tab View Code and paste the
below code. Try selecting in that sheet..

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1") = Target.Value
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Rope" wrote:

Hello, in my spreadsheet I would like to display the contents of an active
cell in a different cell. As in, I select cell AB5 ("apples") and "apples"
would be displayed in cell A1; if E25 ("fox") is selected, the result in A1
would be "fox". I appreciate any suggestions.

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
Displaying Cell Contents ajones1978 Excel Discussion (Misc queries) 3 September 10th 08 10:35 PM
Help with displaying the contents of the last populate cell. Pank New Users to Excel 9 April 4th 07 06:25 PM
Shortcut key for displaying the active cell comment Tonso Excel Discussion (Misc queries) 3 July 22nd 06 09:11 PM
Displaying cell contents on one sheet Peter J Watson Excel Discussion (Misc queries) 2 April 28th 06 12:25 AM
Displaying contents of cell on different spreadsheet telewats Excel Discussion (Misc queries) 1 January 26th 06 04:58 PM


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