#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Target.Value


Hi All,

I have a sheet from Excel 2003 which has the code below written in the
"view code" in the sheet tab(s)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

'Customize to the cell you want to act as the mirror
[B1] = Target.Value

End Sub

__________________________________________________ _____

I have since obtained a new computer with Excel 2007 installed.
It doesn't work in this new version.
Am I missing something?

thanks for any help you can give me.

Tom

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Target.Value

Maybe you didn't enable macros?

Maybe the Target was more than one cell?



lehigh46 wrote:

Hi All,

I have a sheet from Excel 2003 which has the code below written in the
"view code" in the sheet tab(s)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

'Customize to the cell you want to act as the mirror
[B1] = Target.Value

End Sub

__________________________________________________ _____

I have since obtained a new computer with Excel 2007 installed.
It doesn't work in this new version.
Am I missing something?

thanks for any help you can give me.

Tom


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Target.Value


Thank's Dave.
I enabled the macros & that fixed the problem.




On Mon, 31 Mar 2008 18:00:16 -0500, Dave Peterson
wrote:

Maybe you didn't enable macros?

Maybe the Target was more than one cell?



lehigh46 wrote:

Hi All,

I have a sheet from Excel 2003 which has the code below written in the
"view code" in the sheet tab(s)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

'Customize to the cell you want to act as the mirror
[B1] = Target.Value

End Sub

__________________________________________________ _____

I have since obtained a new computer with Excel 2007 installed.
It doesn't work in this new version.
Am I missing something?

thanks for any help you can give me.

Tom

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
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
target.value Curt Excel Discussion (Misc queries) 7 April 21st 07 02:30 AM
Progress to a Target Kytro Charts and Charting in Excel 1 May 30th 06 06:28 AM
Go to target cell Ed Excel Discussion (Misc queries) 3 May 3rd 06 11:47 PM
Target Param Excel Worksheet Functions 1 March 16th 06 08:13 PM


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