Changed cell value not recognized

BDBatBear

Board Regular
Joined
May 4, 2005
Messages
56
WinXP - Excel 2003

I have the following sub-routine on a sheet to capture when a user changes the value in a range of cells:

Private Sub Worksheet_Change(ByVal Target As Range)
End Sub

For most users, the value of Target is the new value they have just entered into the cell. Thus, there is no problem.

However, for one of the users, the value of Target retains the value of the cell before the change is made. When I stop the debugger inside of this sub-routine and look at the worksheet, I do see the new version, but a debug.print of Target displays the old value.

Does anyone have any ideas about this?

Thanks,

- Bruce
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Can we see all the code between the following two lines?

Private Sub Worksheet_Change(ByVal Target As Range)
End Sub


Have a great day,
Stan
 
Upvote 0
The code is not relevant. I have a debug.print line and I manually print the values of Target (both value and address). The only difference is that the output in the problem computer is the initial cell value and on mine (and others) the new cell value.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top