View Single Post
 
Old 03-28-2015, 11:49 AM
charlesdh charlesdh is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Hi,

Possible solution is to have this bit of code "If Target.Address(0, 0)" refer to "Text"
"If Target.Address(0, 0).text".

Update to add more info.

When using code as you have you should use the "Application.EventDisable = true"
This should stop the code from repeating itself.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False

''''' then reset Event at the end of your macro

Application.EnableEvents = True
End Sub

Last edited by charlesdh; 03-28-2015 at 12:02 PM. Reason: update to correct code
Reply With Quote