Problems with Marking cells as changed

turbotoan

Board Regular
Joined
Feb 25, 2002
Messages
62
I am having a problem with marking cells as changed.

Cell:
A B C
1 ABC WE PI
2 XYZ ZQ QE
a. I highlight Cells A1, B1, C1 (starting with A1)
b. Then I type the letter X in A1 & tab out.
RESULT:
A1, B1, C1 are bolded & red (all 3 cells fell into the Worksheet_Change event), not just A1.

How can I force it to only look at the cell that changed?

BACKGROUND NOTES:
1. I have the (Tools>Options>Edit Tab) "Edit directly in cell" checked off
2. I am using this code in the "Changed" event of the worksheet.
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Target.Font.ColorIndex = 3
Target.Font.Bold = True
End Sub

Any help is appreciated!
Thanks,
Turbotoan
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Mudface

MrExcel MVP
Joined
Feb 18, 2002
Messages
3,339
Sorry, I can't replicate that with Excel 2000 (I can't see there being a difference with any other versions either). Do you have any similar code in the Selection_Change event? If so, you will need to delete that.
 

turbotoan

Board Regular
Joined
Feb 25, 2002
Messages
62
I checked, but do not have any code in the Worksheet_SelectionChange event.
Any other suggestions?
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
I'm with Mudface. I pasted your code in a worksheet module and could not duplicate your problem. I'm using Excel 2000 and NT
 

turbotoan

Board Regular
Joined
Feb 25, 2002
Messages
62
I am running Excel 97.
What are some of your other Tools --> Options --> Edit settings set to?
 

Forum statistics

Threads
1,144,221
Messages
5,723,115
Members
422,478
Latest member
Rovan

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
Top