Rubber Beaked Woodpecker
Board Regular
- Joined
- Aug 30, 2015
- Messages
- 203
- Office Version
- 2021
What adjustment do I need to make please so that the following code only executes the once? As it is it is in a never ending loop
VBA Code:
Option Explicit
Dim currentMarket As String
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count = 16 Then
Application.EnableEvents = False
If Range("R1").Value = 6 Then
logBalance
End If
End If
Application.EnableEvents = True
End Sub
Last edited: